- or download this
sub do_stuff {
...
print "IN SUB: " . $hash->{'a'}->{'status'} . "\n";
return 0;
}
- or download this
sub do_stuff {
my $hash = dclone(shift);
$hash->{'a'}->{'status'} = "NOT OK";
print "IN SUB: " . $hash->{'a'}->{'status'} . "\n";
}
- or download this
sub do_stuff {
...
print "IN SUB: " . $hash->{'a'}->{'status'} . "\n";
return 0;
}