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

Re^4: How can you sysread an entire file?

by BrowserUk (Patriarch)
on Jan 13, 2006 at 23:15 UTC ( [id://523109]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    P:\test>perl -le"
    my $s; do{ local $/; $s=<>}; 
    ...
    Image Name                   PID Session Name     Session#    Mem Usag
    +e
    ========================= ====== ================ ======== ===========
    +=
    perl.exe                     604                         0     12,860 
    +K
    
  2. or download this
    P:\test>perl -le"
    my $s=do{ local $/; <>}; 
    ...
    Image Name                   PID Session Name     Session#    Mem Usag
    +e
    ========================= ====== ================ ======== ===========
    +=
    perl.exe                    1372                         0     23,624 
    +K
    
  3. or download this
    P:\test>perl -le"
    my $s = eval q[do{ local $/; <>}]; 
    ...
    Image Name                   PID Session Name     Session#    Mem Usag
    +e
    ========================= ====== ================ ======== ===========
    +=
    perl.exe                    1764                         0     12,880 
    +K
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-03-28 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found