Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^7: How to process multiple input files?

by Anonymous Monk
on May 23, 2011 at 20:17 UTC ( #906359=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl -lE " open ARGV, q[<], \qq[0$/0$/0]; while ( my $line = <> ) { 
    +say q[!!],!!($line) } say $. "
    !!1
    !!1
    !!
    3
    
  2. or download this
    $ perl -e " print qq[0\n0\n0] " > 3zeros
    
    ...
    !!1
    !!
    3
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2021-03-04 07:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (98 votes). Check out past polls.

    Notices?