Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Lexical::Alias & subroutines

by pfaut (Priest)
on May 19, 2003 at 13:01 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://259137]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found