Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

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

by karlgoethebier (Priest)
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 exploiting the Monastery: (4)
As of 2014-12-28 18:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls