http://www.perlmonks.org?node_id=812990


in reply to Re: Unexpected parsing
in thread Unexpected parsing

In your version, it's trying to parse an attribute--like $c :shared
I figured out from the error message what was happening with the parsing, but couldn't tell what was different about the 2 cases involving my $c that made them parse differently. I have updated my post with a guess (that it's the whitespace-plus-alphanumeric after the colon), but I'm not sure whether this is the desired behaviour or a bug (or my guess is wrong!).