My simple Perl Program is going to be started from the cmd prompt in Windows like this:
myProgy.pl yadayada
Notice there is a string after the normal syntax.
I need to get that string into my program somehow. What is the syntax/code for doing this inside myProgy?
Also, is the syntax it different for Linux as aposed to Windows?
Never-mind... this is what I was looking:
print $ARGV[0];
myProgy.pl yadayada
Notice there is a string after the normal syntax.
I need to get that string into my program somehow. What is the syntax/code for doing this inside myProgy?
Also, is the syntax it different for Linux as aposed to Windows?
Never-mind... this is what I was looking:
print $ARGV[0];