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

Re: Why doesn't perl optimize this?

by ikegami (Pope)
on Jun 04, 2013 at 04:35 UTC ( #1036886=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub f {
       my @a;
    ...
       g(\@a);
       return [ @a ];
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1036886]
help
Chatterbox?
[thepkd]: its not $aohoaoh->[0]. its $aohoaoh[0]->{'foo '}. Tried it. Its working. Thnaks
[thepkd]: Hey 1nickt sorry man. What
[GotToBTru]: a ref too far ;)
[thepkd]: Yes this is my first time in cb. Trying to work my way around.
[JohnCub]: "A ref too far" would make a good title for anyone's perl memoirs
[thepkd]: Anyways it works with $aohoaoh[0]->{'foo '}[0]->{'bar'}
[GotToBTru]: "I did it my $way"

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (11)
As of 2016-12-06 13:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (105 votes). Check out past polls.