http://qs1969.pair.com?node_id=380906


in reply to Re^2: key and values help
in thread key and values help

You are close. Usually Perl sees any bareword placed in the position of a hash key as literal text, the actual key. The plus forces Perl to see it as an expression; in this case, a function, and evaluate it as a function using its return value as the hash's key.


Dave