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

Re: Pearls (not really) of Perl programming

by tall_man (Parson)
on Nov 24, 2004 at 19:22 UTC ( #410226=note: print w/ replies, xml ) Need Help??


in reply to Pearls (not really) of Perl programming

I knew a programmer who was unsure how to set values through a hash reference, so he did things like this all over the place:

my %hash = %{$href}; $hash{"abc"} = 1; $href = \%hash;


Comment on Re: Pearls (not really) of Perl programming
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (7)
As of 2014-10-31 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (214 votes), past polls