Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 about the Monastery: (11)
As of 2015-07-06 15:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (77 votes), past polls