Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re^3: Hash of arrays

by NetWallah (Abbot)
on Dec 28, 2012 at 18:54 UTC ( #1010731=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Hash of arrays
in thread Hash of arrays

If you had

use strict; use warnings;
at the top of your code, it would have pointed out your problem, with the message:
Use of uninitialized value in list assignment at ..
(This comes from 'use warnings;')

There is overwhelming agreement here that those two directives should be at the top of EVERY script you write, and you have just experienced an instance where it could have saved days of questioning and struggle.

             "By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."           -Confucius

Comment on Re^3: Hash of arrays
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-12-01 10:29 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (798 votes), past polls