Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^2: Reading multiple files one line at a time from arguments

by Anonymous Monk
on Jun 19, 2014 at 04:26 UTC ( #1090394=note: print w/replies, xml ) Need Help??


in reply to Re: Reading multiple files one line at a time from arguments
in thread Reading multiple files one line at a time from arguments

The advantage of being able to use *nix wildcards is a shell property (bash/tcsh/whatever) and irrelevant. The following works just as well:

perl -ple1 *.pl *.txt

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1090394]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2016-12-04 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (69 votes). Check out past polls.