Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Binary files

by elusion (Curate)
on Mar 16, 2005 at 15:42 UTC ( #439986=note: print w/ replies, xml ) Need Help??


in reply to Re: Binary files
in thread Binary files

Actually, you'd better use $/ (not $\) to slurp a file.

my $xlsfile = do { local $/; <XLSFILE>; }


Comment on Re^2: Binary files
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (18)
As of 2014-09-22 18:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (198 votes), past polls