For Programmers: Free Programming Magazines  


Home > Archive > PERL Beginners > October 2006 > Re: Re: Opening .dat file in perl









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Re: Opening .dat file in perl
Tom Phoenix

2006-10-30, 7:03 pm

On 10/24/06, Goksie <goksie@gmail.com> wrote:

> Tommy Nordgren wrote:
[color=darkred]
> print $fh;


Yep, Tommy Nordgren nailed it.

If you want to read binary data from a filehandle, you probably want
to start with the functions binmode() and read(), both documented in
perlfunc.

Hope this helps!

--Tom Phoenix
Stonehenge Perl Training
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com