Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

(tye)Re: Closing and re-opening the DATA Filehandle

by tye (Sage)
on Apr 04, 2001 at 23:14 UTC ( #69809=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      my $pos= tell(DATA);
      chomp( my $x= <DATA> );
      warn "Testing($x)";
    ...
      warn "Testing($x)";
    __END__
    some data
    
  2. or download this
    Testing(some data) at redata.pl line 4, <DATA> line 1.
    Testing at redata.pl line 12.
    Testing(some data) at redata.pl line 14, <DATA> line 1.
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2020-07-12 17:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?