Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Don't local(@_)

by blakem (Monsignor)
on Jan 13, 2002 at 06:46 UTC ( [id://138378]=note: print w/replies, xml ) Need Help??


in reply to Don't local(@_)

Ouch! That looks like a bug to me... (unless I'm misunderstanding some deep voodoo) BTW 5.00503 and 5.6.1 behave differently on linux (though neither behave as I would expect...):
% perl5.00503 tamper.pl My arguments were: % perl5.6.1 tamper.pl My arguments were: All your arguments are belong to us. % perl5.6.0 tamper.pl My arguments were: All your arguments are belong to us.
Update: Added 5.6.0 test from a different linux machine...
Update2: You might try playing around with local *_ which doesn't do the right thing, but at least it does something different....

-Blake

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (4)
As of 2024-06-15 01:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.