Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
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>; }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://439986]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2017-11-22 02:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (314 votes). Check out past polls.

    Notices?