Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

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

by tye (Sage)
on Apr 04, 2001 at 23:14 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://69809]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2024-03-29 06:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found