This is fine:
c:\test>perl -MO=Deparse -e "my $c; 1 ? $c : my( $d ); $d" my $c; $c; $d; -e syntax OK
In your version, it's trying to parse an attribute--like $c :shared
In reply to Re: Unexpected parsing
by BrowserUk
in thread Unexpected parsing
by JadeNB
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |