Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: how to read data for every 280 character ?

by blazar (Canon)
on Aug 19, 2008 at 11:06 UTC ( [id://705169]=note: print w/replies, xml ) Need Help??


in reply to Re^4: how to read data for every 280 character ?
in thread how to read data for every 280 character ?

I personally believe that it has already been told you several times to read about binmode: how did it fail to answer your question? Alternatively, with a modern enough perl you can directly use a layer in the open call:

open my $fh, '<:raw', $filename or die "D'Oh! $!\n";
--
If you can't understand the incipit, then please check the IPB Campaign.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://705169]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2025-11-15 06:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your view on AI coding assistants?





    Results (72 votes). Check out past polls.

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.