|
|
| The stupid question is the question not asked | |
| PerlMonks |
Re: Re: Re: Parsing your script's command lineby Not_a_Number (Prior) |
| on Sep 04, 2003 at 16:17 UTC ( [id://289002]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
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
|
|
||||||||||||||||||||||||