in reply to bareword hash keys

Yes, it's the same rule as a simple identifier, with an optional minus. The plus specifically indicates that it should not be a bareword.

-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.

Replies are listed 'Best First'.
Re: •Re: bareword hash keys
by diotalevi (Canon) on Jun 23, 2003 at 03:34 UTC

    My $h{+__PACKAGE__} is still thanking you for that.