Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^4: referencing list

by sauoq (Abbot)
on Jun 06, 2012 at 11:02 UTC ( #974691=note: print w/replies, xml ) Need Help??


in reply to Re^3: referencing list
in thread referencing list

using symbolic refs is not advisable in production code for something this simplistic.

These are not symbolic refs. These are aliases. There are good reasons to use aliases. Symbolic references are usually best avoided. This is an example of a symbolic ref:

perl -le '$variable = 42; my $symref = "variable"; print $$symref;' 42

-sauoq
"My two cents aren't worth a dime.";

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://974691]
help
Chatterbox?
[LanX]: understanding this code is like relearning space invaders and donkey Kong at the same time
[holli]: i saw that thread and figured it`s OPP value too high. i didnt realise its PM code
[LanX]: its the style attribute, I can't show you pm code, can only link to old everything docs of you want

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-11-20 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (294 votes). Check out past polls.

    Notices?