Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Filehandles vs Uninitialized Values in pattern match

by HuckinFappy (Pilgrim)
on Nov 23, 2007 at 16:21 UTC ( [id://652604]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open (DAT, "+>>$file") or die "$!";
    
  2. or download this
      DB<1> open $fh, '+>>', 'test.dat'                                   
    +                                                                     
    +           
      DB<2> if ( eof $fh ) { print "Don't try to read, you're at the end!\
    +n" }                                                                 
    +           
    ...
    0  'First Line'
    1  'Second Line'
    2  'Last Line'
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-04-24 12:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found