in reply to Re^3: help with user selected hash operations?
in thread help with user selected hash operations?

oh, shoot. i added "warnings" and "diagnostics" after posting this comment, my apologies... i'm still learning what's easiest for me in formatting, but i think i understand what everyone is saying re: indentations.

an incomplete hash reference... i think i get it. i'll make sure to ask my professor about this. hashes are still brand new to me, so i'm getting easily frustrated when i really shouldn't be. thank you!

  • Comment on Re^4: help with user selected hash operations?

Replies are listed 'Best First'.
Re^5: help with user selected hash operations?
by AnomalousMonk (Archbishop) on Oct 30, 2017 at 19:27 UTC
    an incomplete hash reference...

    The critical point is not that the  {$add_dad} "name" you are assigning in the
        $son_father{$name1} = {$add_dad};
    statement is an incomplete hash reference, it's that it is a hash reference at all. Please ask your professor about "anonymous hash and array constructors (or composers)". Please see Making References (item 3 in particular) in perlref.


    Give a man a fish:  <%-{-{-{-<