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

Re^3: Passing arrays and references to arrays

by simon.proctor (Vicar)
on Aug 10, 2005 at 11:46 UTC ( #482575=note: print w/replies, xml ) Need Help??


in reply to Re^2: Passing arrays and references to arrays
in thread Passing arrays and references to arrays

If I understand everything correctly then I don't think this is a fourth variant:
\@$choices
compared to
$choices
I think you need to look up array refs and pay particular attention to referencing and dereferencing. In both cases you have an array ref, however in the first you deref it only to then make it a reference again. The second doesn't do this unneccessary merry go round.

HTH.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://482575]
help
Chatterbox?
[Corion]: A good daystart to everybody ;)
[Discipulus]: good morning Corion et ceteri
choroba waves
[Mj1234]: Hello Monks, I have installed Active perl 5.16 and 5.14 but I dont find Devel::GDB package when I try to install through ppm

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (7)
As of 2016-12-07 08:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (125 votes). Check out past polls.