Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: Re: Dereferencing an array of hash references

by mfriedman (Monk)
on Jun 26, 2002 at 22:10 UTC ( #177559=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Dereferencing an array of hash references
in thread Dereferencing an array of hash references

Simpler, but not identical. Remember that when you say @{ $array_ref } you are making a copy of the array referenced by $array_ref. So your solution is certainly more efficient, in that you are accessing the original array and not making any copies, but it might be somewhat disastrous if you don't want to modify the original array.
  • Comment on Re: Re: Re: Re: Dereferencing an array of hash references

Log In?
Username:
Password:

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

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












    Results (135 votes). Check out past polls.

    Notices?