$infile ||= "blah"; #this will only set $infile="blah" when $infile is undefined. #### $infile= ? $infile : "default";