laziness, impatience, and hubris | |
PerlMonks |
Re^3: Unscalar'ize a fake arrayby Marshall (Canon) |
on Sep 25, 2017 at 20:26 UTC ( [id://1200070]=note: print w/replies, xml ) | Need Help?? |
Well if you just looked at a printout, then this could have been a print out of single scalar text variable containing several lines. To split each line's values into an array, you have to "extract the lines" from the single text variable.
Another fine point once you have extracted the lines...
There are 2 ways to split on any of these white space characters. Demo Code:
In Section
Seekers of Perl Wisdom
|
|