Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^4: help reassigning hash with arrayref

by mhearse (Hermit)
on Nov 16, 2011 at 00:07 UTC ( #938285=note: print w/ replies, xml ) Need Help??


in reply to Re^3: help reassigning hash with arrayref
in thread help reassigning hash with arrayref

Thanks. You are correct. But I'm still have an issue with the array being assigned in scalar context.


Comment on Re^4: help reassigning hash with arrayref
Re^5: help reassigning hash with arrayref
by Anonymous Monk on Nov 16, 2011 at 02:34 UTC

    Thanks. You are correct. But I'm still have an issue with the array being assigned in scalar context.

    Um, what?

    If you don't want to make a copy, like Grandfather showed here, then simply copy the reference , meaning, forget about dereferencing.

    If that doesn't make sense, then show as asked, the data structure you're trying to create, the same way you showed your input data structure.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2014-09-19 18:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (144 votes), past polls