in reply to Modules to reduce syntax?

You can reduce the amount of syntax in the line you provided and it doesn't even require the use of an additional module. The expression $ref->{'foo'}{$bar} is exactly equivalent to $ref->{foo}{$bar} and the latter has the advantage that you don't waste any time pondering why the author has chosen to enclose foo in single quotes like that.