Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2017-05-28 11:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?