in reply to Re: Split Operation
in thread Split Operation
This succeeds:my $test = "[a,b],c,'d',[e,[f,g,h,[i,j],k,l],m,n],o,p"; my @array = eval ( $test );
Don't forget no strict 'subs'; or else all those unquoted single characters will be treated as barewords!my $test = "[a,b,],c,'d',[e,[f,g,h,[i,j,],k,l,],m,n,],o,p"; my @array = eval ( $test );
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Split Operation
by JadeNB (Chaplain) on Aug 03, 2009 at 15:22 UTC | |
Re^3: Split Operation
by xtype (Deacon) on Aug 03, 2009 at 19:08 UTC |