![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
How to pass a file to GetOptby Anonymous Monk |
on Jul 10, 2012 at 21:33 UTC ( #980952=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question: I have a program where I need to pass a filename (and location) to the program. How can I do this? I have read the GetOpt doc so please don't point me there. My command line is as follows:
My GetOptions look like this:
Basically I need to figure out how to access that file in a while loop that I have which iterates over the lines in the file and puts each into $_
Back to
Seekers of Perl Wisdom
|
|