Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

the ref use the same memory when i push structure onto array? Gahh .. please help me dear perl-gurus

by theantler (Sexton)
on Mar 07, 2010 at 12:13 UTC ( [id://827221]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $room = ( {
    
            TEXT => $string,
    ...
            CMDS => { %cmds },
    #       EVENTS => \&events,
              } );
    
  2. or download this
     foreach (@rooms)
            {
                    ($rr->{TITLE}, $rr->{TEXT}, $rr->{EXITS}, $rr->{THINGS
    +}, $rr->{ITEMS}) =  split ":", $_;
    ...
            };
            return \@a;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-05-27 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found