Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Lexical::Alias & subroutines

by pfaut (Priest)
on May 19, 2003 at 13:01 UTC ( #259137=note: print w/replies, xml ) Need Help??


in reply to Re: Lexical::Alias & subroutines
in thread Lexical::Alias & subroutines

Shifting makes $byRef a copy of the variable passed to the sub. Jenda indicated he wants to modify the argument passed to the sub so he needs an alias. $_[0] is an alias but he'd like to work with it using a more friendly name.

90% of every Perl application is already written.
dragonchild

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2021-03-07 12:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (121 votes). Check out past polls.

    Notices?