http://qs321.pair.com?node_id=328511


in reply to Re: Re: Re: Clean out da hash...
in thread Clean out da hash...

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..

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Clean out da hash...
by leriksen (Curate) on Feb 12, 2004 at 09:43 UTC
    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;

Re: Re: Re: Re: Re: Clean out da hash...
by ysth (Canon) on Feb 12, 2004 at 09:27 UTC
    If you start stripping down the code to be short enough to show (but still demonstrably broken), you'll probably stumble across the answer.