perl one-liner

A Smith asmith9983 at
Sat Jul 19 19:16:40 BST 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.

More information about the mailing list