Mikeyb0y has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I am learning perl but come from an ICL vme background so our scl scripting is although in some ways similar the way it handles files is easy.
How can i write a script that access a filename supplied by the user as the only parameter? then read each line and put the csv fields into variables.
if anyone has any quick code they could let me use i would be grateful i just need to crack this and the rest should be easy i hope
|
---|
Replies are listed 'Best First'. | |
---|---|
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 | |
Re: Putting a filename as a parameter to a perl script then reading from it in the code?
by Utilitarian (Vicar) on Dec 07, 2012 at 12:39 UTC | |
Re: Putting a filename as a parameter to a perl script then reading from it in the code?
by johngg (Canon) on Dec 07, 2012 at 13:06 UTC | |
by Anonymous Monk on Dec 08, 2012 at 03:42 UTC | |
Re: Putting a filename as a parameter to a perl script then reading from it in the code?
by space_monk (Chaplain) on Dec 07, 2012 at 13:33 UTC |
Back to
Seekers of Perl Wisdom