Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Restoring the magic to the _ filehandle in Perl 5.8.9

by ikegami (Pope)
on Jan 27, 2010 at 23:11 UTC ( #820051=note: print w/ replies, xml ) Need Help??


in reply to Re: Restoring the magic to the _ filehandle in Perl 5.8.9
in thread Restoring the magic to the _ filehandle in Perl 5.8.9

And the reason is that 5.10 doesn't consider "_" in "-X _" a function call.

>perl588\bin\perl -MO=Concise -e"sub _; -l _" 7 <@> leave[1 ref] vKP/REFC ->(end) 1 <0> enter ->2 2 <;> nextstate(main 1 -e:1) v ->3 6 <1> ftlink vK/1 ->7 5 <1> entersub[t2] sKS/TARG,1 ->6 - <1> ex-list sK ->5 3 <0> pushmark s ->4 - <1> ex-rv2cv sK/128 ->- 4 <#> gv[*_] s ->5 -e syntax OK >perl589\bin\perl -MO=Concise -e"sub _; -l _" 7 <@> leave[1 ref] vKP/REFC ->(end) 1 <0> enter ->2 2 <;> nextstate(main 1 -e:1) v ->3 6 <1> ftlink vK/1 ->7 5 <1> entersub[t2] sKS/TARG,1 ->6 - <1> ex-list sK ->5 3 <0> pushmark s ->4 - <1> ex-rv2cv sK/128 ->- 4 <#> gv[*_] s ->5 -e syntax OK >perl5100\bin\perl -MO=Concise -e"sub _; -l _" 4 <@> leave[1 ref] vKP/REFC ->(end) 1 <0> enter ->2 2 <;> nextstate(main 1 -e:1) v:{ ->3 3 <#> ftlink[*_] vR ->4 -e syntax OK


Comment on Re^2: Restoring the magic to the _ filehandle in Perl 5.8.9
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://820051]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2014-07-23 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (154 votes), past polls