- or download this
my $data1 = [
{ "shape" => "round", "food" => "apple" },
...
my $test3 = $test2;
print Dumper($test3);
- or download this
my $data1 = [
{ "shape" => "round", "food" => "apple" },
...
print Dumper($copy);
}
- or download this
use Data::Dumper;
...
$d->{sizes} = $data2;
print Dumper($d);
}
- or download this
my @array;
foreach (0..2) {
...
push(@array,$d);
}
print Dumper(\@array);
- or download this
my @array;
foreach (0..2) {
...
push(@array,clone($d));
}
print Dumper(\@array);