- or download this
@{ $aref } = split(/\D+/,"1,2xxx4:17");
- or download this
$ perl -w -Mstrict -MData::Dumper -e 'my $x; @{$x} = split /\s/, "the
+one true"; print Dumper($x)'
$VAR1 = [
...
'one',
'true'
];
- or download this
$ perl -w -Mstrict -MData::Dumper -e 'my $x = {}; @{$x} = split /\s/,
+"the one true"; print Dumper($x)'
Not an ARRAY reference at -e line 1.