in reply to RE: hash o' refs
in thread hash o' refs

You can't call a method as a double-quoted string interpolation. You can use a hashref or arrayref, or a simple array or hash element, or an array slice or hash slice, or a simple scalar. Isn't that enough? {grin}

But apparently, a method call was considered too much like a full expression to be parseable, er, possible inside a double-quoted string.

-- Randal L. Schwartz, Perl hacker