Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^5: help with error 'readline() on unopened filehandle' (precedence, or not ||)

by Anonymous Monk
on Feb 03, 2013 at 08:21 UTC ( #1016806=note: print w/replies, xml ) Need Help??


in reply to Re^4: help with error 'readline() on unopened filehandle'
in thread help with error 'readline() on unopened filehandle'

Different guy here, see Tutorials: Basic debugging checklist , run your code to B::Deparse, then use or instead of || , it is a classic precedence pitfall, see || die or or die :), "or die" versus "|| die"
  • Comment on Re^5: help with error 'readline() on unopened filehandle' (precedence, or not ||)