Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

by eric256 (Parson)
on Mar 09, 2010 at 14:11 UTC ( #827537=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     foreach (@rooms) {
          my $rr;
    ...
          push @a, $rr;
    };
    return \@a;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://827537]
help
Chatterbox?
[beech]: which one?
[holli]: chicken chillie Xtra hot :)
[holli]: this shit burns at least twice

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2017-12-13 01:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (344 votes). Check out past polls.

    Notices?