Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Comparing ARRAY Ref values

by InfiniteSilence (Curate)
on May 09, 2013 at 13:47 UTC ( [id://1032774]=note: print w/replies, xml ) Need Help??


in reply to Comparing ARRAY Ref values

Maybe share some code? Normally your refs, if pointing to the same array, should show the same thing when you print them:

perl -e '@arr = qw|a b c d|; $ref = \@arr; $ref2 = \@arr; print qq|$r +ef\t$ref2\n|;'

At least for this run shows:

ARRAY(0x82b1ee4) ARRAY(0x82b1ee4)

Celebrate Intellectual Diversity

Log In?
Username:
Password:

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

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

    No recent polls found