On 10/24/06, Goksie <[EMAIL PROTECTED]> wrote:

Tommy Nordgren wrote:
>     This might occur because you are trying to print the file handle
> instead of reading FROM it.

    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

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to