Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Putting a filename as a parameter to a perl script then reading from it in the code?

by moritz (Cardinal)
on Dec 07, 2012 at 11:31 UTC ( #1007715=note: print w/ replies, xml ) Need Help??


in reply to Putting a filename as a parameter to a perl script then reading from it in the code?

The variable @ARGV contains the command line options. perlintro has examples for opening files and reading them line by line.


Comment on Re: Putting a filename as a parameter to a perl script then reading from it in the code?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (8)
As of 2014-09-19 03:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (129 votes), past polls