-
Notifications
You must be signed in to change notification settings - Fork 556
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
variable type in (?{ code }) construction #1077
Comments
From ishisone@sra.co.jpIf variable interpolation takes place in a regular expression, The following little script exhibits the problem: #! /usr/local/bin/perl -w use strict; my ($a, $x, $y) = ('a', 0, 0); # No variable interpolation occurs in RE. # A variable interpolation occurs in RE. The output is: Name "main::y" used only once: possible typo at ./rebug.pl line 15. Both $x and $y are lexical, but when evaluating the second RE, I also checked with 5.00563, and got the same result. This perlbug was built using Perl 5.00503 - Wed May 19 12:05:03 JST 1999 Site configuration information for perl 5.00503: Configured by ishisone at Wed May 19 12:05:03 JST 1999. Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration: Locally applied patches: @INC for perl 5.00503: Environment for perl 5.00503: |
From [Unknown Contact. See original ticket]Makoto Ishisone writes:
Thanks. This is a known problem. You pinpointed the conditions it Ilya |
Migrated from rt.perl.org#2030 (status was 'resolved')
Searchable as RT2030$
The text was updated successfully, but these errors were encountered: