I am new in Perl. Could you please give me advice to pass parameters from batch file to the array in Perl? Or is it possible?
Batch file:
@echo off
C:\Perl64\bin\perl.exe D:\perl\prog.pl a 30 5 d o 78 g
and read these parameters from the array in Perl script and print on the screen:
($st, $st2, $com, $ep, $co, $vel, $sig) = @_;
print @_;
@_is for a sub's parameters. The script's parameters are found in@ARGV