http://qs321.pair.com?node_id=368548


in reply to perl command line arguments

You could try setting an environment variable and then accessing it in your perl command via the %ENV hash (works in tcsh shell):
setenv arg="ARG"; perl -ne '<your command here>'
Alternatively, you could set the $arg variable at the start of your perl command once:
perl -ne '$arg="ARG";<rest of your command here>'


_____________________
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce
the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true."

Robert Wilensky, University of California