-
Notifications
You must be signed in to change notification settings - Fork 567
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
Hash recognition and barewords #939
Comments
From @TuxBelow is a piece of code that will NOT compile (syntax error) in #!/usr/bin/perl -w use strict; sub strerr ($) sub errstr ($) print strerr 0x1AD3, "\n"; using perl5.005.03 on HP-UX 10.20, HP-UX 11.00, AIX 4.2, AIX 4.3, Configuration as shown below runs on both HP 9000/800 D390 (shown) Code example fails on *ALL* systems mentioned above. The code above has also been tested in Amsterdam on our PM meeting, Perl Info
|
From @TimToadyh.m.brand@hccnet.nl writes: Inline Patch--- perl5.005_63/toke.c Wed Dec 8 23:40:50 1999
+++ perl5.005_63pat/toke.c Fri Dec 17 17:22:32 1999
@@ -2940,8 +2940,10 @@
}
t++;
}
- else if (isIDFIRST_lazy(s)) {
- for (t++; t < PL_bufend && isALNUM_lazy(t); t++) ;
+ else if (isALNUM_lazy(t)) {
+ t += UTF8SKIP(t);
+ while (t < PL_bufend && isALNUM_lazy(t))
+ t += UTF8SKIP(t);
}
while (t < PL_bufend && isSPACE(*t))
t++;
Larry |
Migrated from rt.perl.org#1884 (status was 'resolved')
Searchable as RT1884$
The text was updated successfully, but these errors were encountered: