in reply to Re: Re: crazy hashes
in thread crazy hashes

You get a perfectly good hash reference back from get_Bad_Rows(). Why copy it into another hash and then display that?
$badrows = $base->get_Bad_Rows(qw/host request fulldatetime/); print Dumper($badrows);
works fine.

Arjen

Replies are listed 'Best First'.
Re: Re: Re: Re: crazy hashes
by datannen (Novice) on May 26, 2004 at 21:29 UTC
    no reason. 
    
    I did some more testing and the hash gets filled properly.  The problem happens when I send it back via:
    
    return (bless (\%Bad_Host_Rows));
    
    and retrieve it using:
    
    $badrows = $base->get_Bad_Rows(...)
    
    are these lines bad?
    
      Hmm. How do you return the hash from get_Bad_Rows()? I can't remember seeing this kind of output from a single Dumper() call. Are you calling Dumper() twice by accident? Some more code from the initialization of the object and of the get_Bad_Rows() method would help to get to the problem.

      Arjen