Do you know where your variables are? | |
PerlMonks |
Re^2: "or die" versus "|| die"by brian_d_foy (Abbot) |
on Jun 24, 2005 at 15:59 UTC ( [id://469746]=note: print w/replies, xml ) | Need Help?? |
Which error? The numeric comparison operator has a higher precedence. If the record size that perl read is the expected record size, the LHS evaluates to one and the short circuit terminates. The better rule of thumb is to use or when you want everything else to happen first. If you know about problems in the perlfaq, however, you can send them to perlfaq-workers @ perl.org and we'll fix them up.
-- brian d foy <brian@stonehenge.com>
In Section
Seekers of Perl Wisdom
|
|