Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 ||)
Re^6: help with error 'readline() on unopened filehandle'
by Anonymous Monk on Feb 03, 2013 at 08:24 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016806]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-11-28 09:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (194 votes), past polls