Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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 daffodils sway...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-11-17 18:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (270 votes). Check out past polls.

    Notices?