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: <%-{-{-{-<
In reply to Re^5: help with user selected hash operations?
by AnomalousMonk
in thread help with user selected hash operations?
by lunette
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |