"be consistent" | |
PerlMonks |
Re: Re: Re: Parsing your script's command lineby Not_a_Number (Prior) |
on Sep 04, 2003 at 20:17 UTC ( [id://289002]=note: print w/replies, xml ) | Need Help?? |
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 Section
Tutorials
|
|