in reply to Re: Parsing and Matching Text with Map
in thread Parsing and Matching Text with Map
Right now the "value" is a string. How can I get it to change to an array inside this map expression?# Create hash with employee index as key. my %employees = ( map { $_ =~ m/^employee\[(.*?)\] = new employee_element\((.*)\);/g } split "\n", $data );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Parsing and Matching Text with Map
by shmem (Chancellor) on Oct 05, 2006 at 19:55 UTC |