That makes it possible to eval them back to existence.This holds for basic data structures, but fails for three cases (I know of):
which outputsperl -MData::Dumper -e 'my $ref = []; print Dumper eval Dumper [$ref, + $ref];
and (thankfully) fails under strict.$VAR1 = [ [], undef ];
</pedantic>
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
In reply to Re^2: Perl data notation
by kennethk
in thread Perl data notation
by rje
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |