- or download this
sub PutShare {
print "Args: ", join(' | ', @_), "\n";
...
print "\n";
}
}
- or download this
use strict;
use warnings;
...
PutShare(\%User, qw/deep deeper fish halibut/);
print "The resulting leaves are: '$User{deep}{fish}' and '$User{deep}{
+deeper}{fish}'\n";
print "\nDump: ", dump(\%User);
- or download this
Args: HASH(0x18241f8) | deep | fish | tuna
Key = deep
...
The resulting leaves are: 'tuna' and 'halibut'
Dump: { deep => { deeper => { fish => "halibut" }, fish => "tuna" } }
- or download this
Dump: { deep => { deeper => { fish => '#LVALUE#' }, fish => "tuna" } }