Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: I think this is a simple one...

by CukiMnstr (Deacon)
on Mar 18, 2003 at 16:06 UTC ( #244052=note: print w/replies, xml ) Need Help??


in reply to Alternate ways to loop over input (was: I think this is a simple one...)

you could do something like:
while ($input->getline()) { print if m/^\w+-owner:/; # print $_, "\n" if m/^\w+-owner:/; }

I don't see why your code would loop, maybe there is something wrong with $input->getline()?

hope this helps,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-02-29 00:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (128 votes). Check out past polls.

    Notices?