Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: help with references

by dw_perlmonks (Novice)
on May 04, 2013 at 19:42 UTC ( #1032076=note: print w/replies, xml ) Need Help??


in reply to Re: help with references
in thread help with references

Thanks for the reply, moritz! using your method i'm no longer getting a ref of @a, but now i get refs of the individual arrays instead. it still won't work because if i change the AoA in $h{"1"}, the AoA in $h{"2"} will also be modified.
{ '1' => [ [ 'a1', 1, 1, 1 ], [ 'a2', 2, 2, 2 ] ], '2' => [ $VAR1->{'1'}[0], $VAR1->{'1'}[1] ] }

Replies are listed 'Best First'.
Re^3: help with references
by moritz (Cardinal) on May 04, 2013 at 20:11 UTC

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1032076]
help
Chatterbox?
[LanX]: suitable what? ... insult?
[Discipulus]: goodby stress..
LanX you always reminded me of Sean Connery. ..
shmem .oO( someday I'll do something... and then I'll make it big. Now is the time! )
[LanX]: don't forget to flush the water
[shmem]: the day will come when LanX hits the fan

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2018-04-24 11:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?