Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: push to a hash of arrays

by mfriedman (Monk)
on Dec 20, 2002 at 15:18 UTC ( #221455=note: print w/replies, xml ) Need Help??


in reply to push to a hash of arrays

What is @desclines and where does it come from? To push to an array reference, you must dereference it. I'm assuming the array reference in question is $outer{$tag}. So do this:

push @{ $outer{$tag} }, $full;

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2021-06-13 17:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (57 votes). Check out past polls.

    Notices?