Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Reading from a file

by broquaint (Abbot)
on Aug 26, 2003 at 10:13 UTC ( [id://286647]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    open(file1, "sample.txt") or die("ack - $!");
    
  2. or download this
    print(<file1>);
    
  3. or download this
    seek(file1, 0, 0);
    
  4. or download this
    print scalar(<file1>);
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-03-29 05:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found