I think I figured out one thing from my earlier message: ---------------------------- print '$template{uname}{ross} =' , $template{uname}{ross}, "\n"; #$template{uname}{ross} =ARRAY(0x20f41d8) # I'm still surprised this worked. Somehow we've gone 2 levels down with one $.
print '${$template{uname}}{ross} =' , ${$template{uname}}{ross}, "\n"; #${$template{uname}}{ross} =ARRAY(0x20f41d8) # and thought this syntax was necessary ----------------------------------------------- I think the first one works because it is implicitly converted to $template{uname}->{ross} which is equivalent to the second version. The reference tutorial doesn't mention that this trick works with hashes that I could see. Ross -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/