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 examining the Monastery: (6)
As of 2015-07-04 10:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (59 votes), past polls