Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: How to process multiple input files?

by John M. Dlugosz (Monsignor)
on May 23, 2011 at 00:15 UTC ( #906217=note: print w/ replies, xml ) Need Help??


in reply to Re^2: How to process multiple input files?
in thread How to process multiple input files?

Ah, you are only reading once. I see what you were asking now.

Making a while loop out of it like so:

my $line; while (defined ($line = <>)) {
will repeat until there are no files left.


Comment on Re^3: How to process multiple input files?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2014-08-23 07:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (172 votes), past polls