Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: How can I run an folder full of text files through a perl script?

by karlgoethebier (Deacon)
on Dec 08, 2012 at 19:28 UTC ( #1007918=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    set theWindowTitle to "PerlMonks"
    set theSuffix to text returned of (display dialog "Enter a file suffix
    +:" & return default answer "" with title theWindowTitle)
    ...
    end repeat
    
    
  2. or download this
    #!/usr/bin/perl
    
    while (<>) {print}
    
  3. or download this
    Karls-Mac-mini:find karl$ cat foo.txt bar.txt 
    foo
    bar
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (10)
As of 2014-04-17 23:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (459 votes), past polls