2 # disable the "Useless use of anonymous list ([]) in void context"
3 # warning so we can perl -c this file during development
5 use Scalar::Util qw(weaken);
13 ref_scalar => \"foo\nbar",
14 ref_array => [ 1, \undef, "73" ],
20 my ($x, $y, $z) = (\1, { two => 2 }, [ three => 3 ]);
34 do { sub DDXSTest::foo { 'DDXSTest::foo' } () },
36 global_sub => { foo => \&DDXSTest::foo }
41 my $y = [ \$x, \$x, \$x ];
49 my $y = [ \$x, \$x, \$x ];