in reply to Re^2: formatted hash problem
in thread formatted hash problem
One possibility if a field is not getting populated is related to my split expression. My regular expression /\s/ splits on exactly one white space character. If your data has multiple spaces separating two values, you will get empty elements. /\s+/ will match one-or-more white space characters (perlre) and may fix this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: formatted hash problem
by Spooky (Beadle) on Feb 20, 2010 at 18:45 UTC | |
by kennethk (Abbot) on Feb 22, 2010 at 15:49 UTC |