How does one do something like this?
echo one two | PERLSCRIPT
@ARGV doesn't seem to work this way.
Thanks
#!/usr/bin/perl use strict; use warnings; foreach(@ARGV) { print "passed $_\n"; }
In reply to Passing parameters to Perl Script by yoda54
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |