-
Notifications
You must be signed in to change notification settings - Fork 559
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
do q() [or qq() or qw(), etc] #2339
Comments
From [email protected]Created by [email protected]The do() function, when given a string quoted with the q, qq, or qw jeffp@hut [9:25am] ~ #105> perl -we 'do q{foo.bar}' jeffp@hut [9:25am] ~ #106> perl -MO=Deparse -we 'do q{foo.bar}' In 5.005_03, this is the course of events: jefpin@towers [9:22am] ~ #69> perl -we 'do q{foo.bar}' jefpin@towers [9:22am] ~ #70> perl -MO=Deparse -we 'do q{foo.bar}' In 5.005_02, this is the course of events: jeffp@friday [9:20am] pa #117> perl -we 'do q{foo.bar}' jeffp@friday [9:20am] pa #118> perl -MO=Deparse -we 'do q{foo.bar}' What in the world is that? Seems mighty nasty to me. 5.6 doesn't do that q -> $q conversion, but it is still icky. Workarounds jeffp@hut [9:25am] ~ #107> perl -we 'do +q{foo.bar}' jeffp@hut [9:27am] ~ #108> perl -MO=Deparse -we 'do +q{foo.bar}' jeffp@hut [9:27am] ~ #110> perl -we 'do(q{foo.bar})' jeffp@hut [9:27am] ~ #111> perl -MO=Deparse -we 'do(q{foo.bar})' I don't enough to make an intelligent analysis, but I'd fumbly say it's a Perl Info
|
From [email protected]This seems to have been resolved in 5.8 |
[email protected] - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#3663 (status was 'resolved')
Searchable as RT3663$
The text was updated successfully, but these errors were encountered: