Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Dynamic Memory allocation

by Tomte (Priest)
on Dec 15, 2005 at 10:22 UTC ( #516912=note: print w/ replies, xml ) Need Help??


in reply to Dynamic Memory allocation

Use an anonymous array-ref "in situ":

$g_User{'user1'} = []; $g_User{'user1'}->[0] = 'Hans'; $g_User{'user1'}->[1] = 'Wurst'; print join ' ', @{$g_User{'user1'}}; __END__ Hans Wurst

regards,
tomte


An intellectual is someone whose mind watches itself.
-- Albert Camus


Comment on Re: Dynamic Memory allocation
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (10)
As of 2015-07-01 21:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (22 votes), past polls