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
"my" variable is treated as a static variable under certain circumstance #8778
Comments
From mmonopole-star@yahoo.comCreated by mmonopole-star@yahoo.com"my" variable is treated as a static variable under certain circumstance. ======================= use strict; sub f($) my $x = 'a' if (0); $x ||= $arg; print "$x\n"; f('b');
|
From @rgarciaOn 17/02/07, via RT John <perlbug-followup@perl.org> wrote:
Right. The construct "my $x if 0" will be deprecated in perl 5.10 |
The RT System itself - Status changed from 'new' to 'open' |
@rgs - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#41526 (status was 'resolved')
Searchable as RT41526$
The text was updated successfully, but these errors were encountered: