[Edinburgh-pm] perl one-liner problem
asmith9983 at gmail.com
Sat Jul 19 11:16:08 PDT 2008
I was trying the Perl one liner below but it complains about an *unrecognized
switch*. despite this the value is passed into the code. I was trying to
avoid a full script file with a getopts and its baggage.
perl -s -e "print $oldage;" -oldage=abc
Anyone got an idea what will work.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Edinburgh-pm