Alternatively, you could set the $arg variable at the start of your perl command once:setenv arg="ARG"; perl -ne '<your command here>'
perl -ne '$arg="ARG";<rest of your command here>'
Robert Wilensky, University of California
In reply to Re: perl command line arguments
by vladb
in thread perl command line arguments
by jluther
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |