in reply to Re^3: Loading data into an array from a file problem
in thread Loading data into an array from a file problem

Yes that did the trick thank you.
  • Comment on Re^4: Loading data into an array from a file problem

Replies are listed 'Best First'.
Re^5: Loading data into an array from a file problem
by davido (Cardinal) on Apr 20, 2006 at 23:32 UTC

    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