Be warned though, splitting on commas can only take you so far. For example, if you're dealing with quoted strings, any of which might actually contained embeded commas that should be treated as textual punctuation rather than delimiters, you'll get into trouble really fast. If it turns out that your dataset is more complex, use Text::CSV, or some other similar-purposed module.
Dave
In reply to Re^5: Loading data into an array from a file problem
by davido
in thread Loading data into an array from a file problem
by pglinx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |