I'm very sure there's no other hash references in there. I double checked that. I don't know anything about read only flags, so I suspect it's not that.
I'm going over everything again, and haev even sucked a colleague in, but I've stumped him as well.
Grrrrr.. | [reply] |
After you have called clean_hash, why don't you check its contents with
use Data::Dumper;
...
clean_hash();
print STDERR Dumper(\%hash);
...
+++++++++++++++++
#!/usr/bin/perl
use warnings;use strict;use brain;
| [reply] [d/l] |
If you start stripping down the code to be short enough to show (but still demonstrably broken), you'll probably stumble across the answer.
| [reply] |