Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: looping with conditions and print newline

by analys (Initiate)
on Jan 12, 2016 at 14:41 UTC ( [id://1152567]=note: print w/replies, xml ) Need Help??


in reply to Re: looping with conditions and print newline
in thread looping with conditions and print newline

hi betterworld, thanks for the reply. I read the file as the following (read line by line). I didn't parse when I read it, but I check if the line match with pattern and put it in scalar.
open (INPUT, "<", $file) || die "File read error"; @line=<INPUT>; close INPUT;
and do while loop as per above code.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2024-04-19 04:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found