Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: How can a user specify a input folder

by moritz (Cardinal)
on Dec 10, 2012 at 09:18 UTC ( [id://1008078]=note: print w/replies, xml ) Need Help??


in reply to How can a user specify a input folder

I want to code my perl script to ask the user to type in the folder name, and then the script should run through all of the text files within.

Let me propose another way: let the user supply the value at the command line. That's much more convenient to use and test. You can find the command line arguments in @ARGV.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (3)
As of 2024-03-29 06:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found