Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

chaoticset (2105)

  (email not shown publicly)
AOL IM: chaoticset23 (Add Buddy, Send Message)
Yahoo! ID: illuminatus_foil (Add User, Send Message)

JAPH. (That's right -- I'm not Really Inexperienced any more.)

I'm not just here, I'm here [], and here [] too, I ramble randomly in my philosophical blog [] and my other blog []. Soon I'll come in a convenient six-pack.

Journal of chaoticset (2105)

Thursday August 12, 2004
12:19 PM

Another Moment Of Cluelessness

[ #20378 ]
I don't understand it, I said to myself. I'm assigning each set of variables to a hash value as a hashref. It's not complaining about references, it's not complaining about undefined values, it's not complaining about anything -- yet the hash is unpopulated afterwards. Why?

On what had to be the hundredth time I look through the code, I realize that

my $var = shift;

isn't going to do anything if @_ isn't where the data in question is. In an effort to clarify what I was manipulating, I provided a named array to hold said data -- and bam, nothing was going into my hash now. This held me up for about a whole day.

Humility, thy name is simple errors.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.