Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^6: help with error 'readline() on unopened filehandle'

by Anonymous Monk
on Feb 03, 2013 at 08:36 UTC ( [id://1016808]=note: print w/replies, xml ) Need Help??


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

Don't put a '$' on your file handle. Here's how you open and read from a file:

That is the preferred syntax since perl 5.6.0

See perlintro, Modern Perl , http://perl-tutorial.org/

Replies are listed 'Best First'.
Re^7: help with error 'readline() on unopened filehandle'
by Anonymous Monk on Feb 04, 2013 at 05:30 UTC
    that's my advice for you ... read a ruby tut. get a hair cut and a JOB!

      that's my advice for you ... read a ruby tut. get a hair cut and a JOB!

      die

Re^7: help with error 'readline() on unopened filehandle'
by Anonymous Monk on Feb 04, 2013 at 05:29 UTC
    Well EXCUSE ME!!!!!! Back in my day sonny we didn't put '$' on our filehandle variables and LIKE IT! If you are going in for new fangled paradigms you might as well code in ruby >:(
      You are not excused. If you're going to correct folks, be sure to know what you're talking about first

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-03-19 04:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found