Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by karlgoethebier (Parson)
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 drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2016-06-28 03:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (349 votes). Check out past polls.