Er...
I'm afraid I don't understand. Under what circumstances does:
$thing = 'default' unless defined $thing;not work for $thing == 0? I'm confused. Could you show me some code where the behaviour of the above differs from:
$thing ||= 'default' unless defined $thing;Thanks in advance,
dave
In reply to Re: Re: Re: Parsing your script's command line
by Not_a_Number
in thread Parsing your script's command line
by grinder
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |