Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Make hash key an alias

by TomDLux (Vicar)
on Nov 18, 2003 at 14:21 UTC ( #307980=note: print w/replies, xml ) Need Help??


in reply to Make hash key an alias

$w{foo} = \$a; ${$w{foo}} = 17; print $a; __OUTPUT__ 17

--
TTTATCGGTCGTTATATAGATGTTTGCA

Replies are listed 'Best First'.
Re: Re: Make hash key an alias
by calin (Deacon) on Nov 18, 2003 at 15:14 UTC
    $w{foo} is a reference, not an alias.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2020-02-23 02:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (102 votes). Check out past polls.

    Notices?