|Just another Perl shrine|
Re^2: "or die" versus "|| die"by brian_d_foy (Abbot)
|on Jun 24, 2005 at 15:59 UTC||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 <firstname.lastname@example.org>