Remind me, what does cat do with binary files? -----Original Message----- From: Sean M. Burke [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 20, 2002 12:41 PM To: William R Ward; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: perlfaq5: How can I read in an entire file all at once?
At 11:03 2002-03-20 -0800, William R Ward wrote: > $var = `cat $file`; >+ >+(Windows users, substitute "type" instead of "cat" in this example.) Does that do the right thing when that's a binary file? Semi-related question: Once we have automagical encoding recognition discipline on non-binary handles, will that apply to `foo` things too? -- Sean M. Burke [EMAIL PROTECTED] http://www.spinn.net/~sburke/
