Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by karlgoethebier (Curate)
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 chilling in the Monastery: (5)
As of 2014-08-22 01:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (145 votes), past polls