$hash_ref=Clear($hash_ref); #Here something goes wrong.
Yup, this is why
#!/usr/bin/perl -- use strict; use warnings; use Data::Dump; my %hash = ( 1 .. 4 ); my $hashref = \%hash; print "$hashref\n"; dd $hashref; $hashref =~ s/^/WHY DID I DO THIS??? /; dd $hashref; __END__ HASH(0x99a99c) { 1 => 2, 3 => 4 } "WHY DID I DO THIS??? HASH(0x99a99c)"
In reply to Re: Understand why dumper printed null hash
by Anonymous Monk
in thread Understand why dumper printed null hash
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |