![]() |
|
Perl Monk, Perl Meditation | |
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
$x = undef; $x ||= 0; print $x; That is the same as $x = $x || 0 (which is read $x or 0) and is used for defaulting values. ___________ Eric Hodges In reply to Re: Or, Or, Equals Zero, $x ||= 0
by eric256
|
|