Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Stupid mistakes I repeatedly make

by revdiablo (Prior)
on Mar 28, 2005 at 00:57 UTC ( #442723=note: print w/ replies, xml ) Need Help??


in reply to Re: Stupid mistakes I repeatedly make
in thread Stupid mistakes I repeatedly make

The infuriating thing was that it actually seems to work

Sure, it "works", but it's certainly not right:

$ perl -MData::Dumper -we 'my %hash = {}; print Dumper \%hash' Reference found where even-sized list expected at -e line 1. $VAR1 = { 'HASH(0x814cc20)' => undef };

It generates a warning and adds a useless entry to the hash. I can't imagine that's what the contractors wanted to do. :-)


Comment on Re^2: Stupid mistakes I repeatedly make
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2015-07-31 01:27 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 (274 votes), past polls