Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 ||)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016806]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2016-12-04 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (61 votes). Check out past polls.