MMCT TEAM
Server IP : 111.118.215.189  /  Your IP : 216.73.216.185
Web Server : Apache
System : Linux md-in-83.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : a1673wkz ( 2475)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/doc/perl-Data-Dump-1.22/t/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/doc/perl-Data-Dump-1.22/t/eval.t
print "1..1\n";

use Data::Dump qw(dump);

# Create some structure;
$h = {af=>15, bf=>bless [1,2], "Foo"};
$h->{cf} = \$h->{af};
#$h->{bf}[2] = \$h;

@s = eval($dump_h = dump($h, $h, \$h, \$h->{af}));

$dump_s = dump(@s);

print "not " unless $dump_h eq $dump_s;
print "ok 1\n";

print "\n\$h = $dump_h;\n";
print "\n\$s = $dump_s;\n";

MMCT - 2023