in reply to Reading individual variables from a file.

After 72 hours of Perl I think it is time for you to learn about CPAN, the Comprehensive Perl Archive Network.

Start by reading A Guide to Installing Modules.

In your case you can try Text::CSV_XS, which processes Comma Separated Values, exactly the format you are using.

You can then have a look at Module Reviews for a (non exhaustive) list of modules, and use search.cpan.org for even more module galore.

  • Comment on Re: Reading individual variables from a file.