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

Re^2: Aliasing bites

by iblech (Friar)
on May 11, 2005 at 13:27 UTC ( [id://455983]=note: print w/replies, xml ) Need Help??


in reply to Re: Aliasing bites
in thread Aliasing bites

I'd like to have lexical variables which are aliases to other values.

Luckily, there's Perl 6 :)

my $var = ...; my $alias := $var; # That's it. # Or: my $short := %alias_to<a_very>[long()]<name>; $short = ...; # Modifies %alias_to

--Ingo

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (11)
As of 2024-04-18 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found