http://www.perlmonks.org?node_id=1007712

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