It may not solve all the problems you mentioned, but:
$ perl -MData::Dump=pp -le '$ref = []; print pp eval pp [$ref, $ref];' do { my $a = [[], 'fix']; $a->[1] = $a->[0]; $a; }
In reply to Re^3: Perl data notation
by Anonymous Monk
in thread Perl data notation
by rje
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |