in reply to Re: Simple RegEx Substring Extraction from a Delimited Text Record
in thread Simple RegEx Substring Extraction from a Delimited Text Record

"I'm likely to want to refer to each of the data items by name elsewhere."

This screams hash, IMO. See reasonablekeith's suggestion.

----------
Using perl 5.8.6 unless otherwise noted. Apache/2.0.54 unless otherwise noted. Fedora Core 4 (2.6.11-1.1369_FC4) unless otherwise noted.
  • Comment on Re^2: Simple RegEx Substring Extraction from a Delimited Text Record
  • Download Code

Replies are listed 'Best First'.
Re^3: Simple RegEx Substring Extraction from a Delimited Text Record
by eweaver (Sexton) on Mar 15, 2006 at 16:38 UTC
    However... contrary to a strange student in an AI class I took, hashing is not necessarily the answer to everything. But in this case, it is the answer :) .