programming-examples/perl/SystemFunction/use Data Dumper to dump the reference.pl
2019-11-15 12:59:38 +01:00

8 lines
194 B
Perl

use Data::Dumper;
$scalar = 0;
$hashref = {};
$arrayref = [$scalar, $hashref];
$hashref->{arrayref} = $arrayref;
print Data::Dumper->Dump([$arrayref, $hashref], [qw(arrayref hashref)]);