Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I have a requirement to split a scalar into an array.
Example
Simple Input :
[a,b]Output :
[ a, b ]
Input :
[''a,b'', c, [ d,e],'fgh[],ijk',',']]Output :
[ 'a,b', c [ d, e, ] [ fgh[],ijk , ] ]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Scalar to Array
by Utilitarian (Vicar) on Aug 10, 2009 at 06:05 UTC | |
|
Re: Scalar to Array
by Anonymous Monk on Aug 10, 2009 at 06:23 UTC | |
by biohisham (Priest) on Aug 10, 2009 at 11:38 UTC |