in reply to Problem working with Hashes

perldoc Data::Dumper
use Data::Dumper; print Dumper( $ct );

Replies are listed 'Best First'.
Re^2: Using Data::Dumper
by deMize (Monk) on Nov 03, 2009 at 19:54 UTC
    confirmed, but Dumper($ret) is what was needed.

    $ct contains the whole crontab, whereas $ret just contains the returned value from the query.

    Thank you, deMize


    Update: As a response to the question about where $ret came from, as stated in the initial post, this was a carryover from a CB conversation. Scratchpad wasn't working, so it was posted here. $ret is the implied returned value from the query. In the case above it would be $r|x|y. I think in my CB question I actually named $r as $ret.
      If you knew all this, why did you bother to ask the (implied) original question in the first place? Were you testing the poor monks?

      And what the heck is  $ret and where did it come from, anyway?