Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Read a line with max length ?

by Zaxo (Archbishop)
on Feb 27, 2003 at 11:43 UTC ( #239069=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    while (<FILEHANDLE>) {
        $_ = substr $_, 0, $maxlength if length > $maxlength;
        # ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (8)
As of 2019-02-17 21:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I use postfix dereferencing ...









    Results (98 votes). Check out past polls.

    Notices?