-
Notifications
You must be signed in to change notification settings - Fork 571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"local"/"my"/"our" inconsistent scope #13548
Comments
From zefram@fysh.orgCreated by zefram@fysh.orgIn playing around with signatures, Ilmari on IRC noticed some funny $ perl -lwe '$aaa=111; $bbb=222; { my(local our $aaa, There the "our", overriding the outer "my", extends to both variables $ perl -Mstrict -lwe '(our $aaa, $bbb) = (333,444);' Although as established above some aspect of "our" extends to both $ perl -lwe '$aaa=111; $bbb=222; { (local our ($aaa, I think this is down to the PL_parser->in_my flag. It's a parser-global Perl Info
|
From @maukeOn Wed Jan 22 05:34:41 2014, zefram@fysh.org wrote:
Fixed in blead by commit f3106bc. This makes nested declarations an error. |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#121058 (status was 'open')
Searchable as RT121058$
The text was updated successfully, but these errors were encountered: