in reply to Defaults for command line args

That's what ||= is for.
$infile ||= "blah"; #this will only set $infile="blah" when $infile is undefined.
Or there's always
$infile= ? $infile : "default";


vroom | Tim Vroom | vroom@cs.hope.edu