in reply to Re: Re: Extracting array of hashes from data
in thread Extracting array of hashes from data
Took me a sec, but I got it. In your data, sometimes you have spaces after the ;, and sometimes you don't. After each of your splits (or just the split/;/'s) add \s* as in:
my @splitvalue = split /;\s*/, $value;
The 15 year old, freshman programmer,
Stephen Rawls
|
---|
In Section
Seekers of Perl Wisdom