Stories
Slash Boxes
Comments
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)

chaoticset
  (email not shown publicly)
http://chaoticset.perlmonk.org/
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 [perlmonks.org], and here [javajunkies.org] too, I ramble randomly in my philosophical blog [blogspot.com] and my other blog [blogspot.com]. Soon I'll come in a convenient six-pack.

Journal of chaoticset (2105)

Sunday October 07, 2001
10:53 PM

Trouble

[ #910 ]
Boy, am I in it, too.

Okay, admissions first: I didn't have use strict; at the beginning of my program.

-shields self from barrage of rotten fruit-

Anyway, I turned it on, and ran it, and got a whole page of errors before the program turned itself off:

newcards.p has too many errors.

and immediately knew that I was in pretty deep.

First, fix all those damned 'requires explicit package name' errors...

Okay, back.

Note to self: Trust your elder Perlers.

Okay, this amazes the hell out of me. It's...working, I guess, is the word.

I just described this process to a (non-programmer) friend of mine thusly: "Imagine you're building a go-cart from random parts in a garage." Essentially, this is what I've gotten to the point of. It's a starting place.

Well, the go-cart's all put together, and you can get on it and all, but something's wrong with the drive mechanism, because it immediately accelerates to 50 MPH when you turn it on. It's working, and I did something, but it's got a little way to go.

Now, it's *building* the file...but the output is supposed to be a nice orderly set of lines:
name:stock:shown
name1:stock1:shown1
name2:stock2:shown2

and instead, it's doing this

name:stock:shown
name:stock:shown
name:stock:shown
name:stock:shown
name:stock:shown
name:stock:shown
name1:stock1:shown1
name1:stock1:shown1
name1:stock1:shown1
name1:stock1:shown1
name1:stock1:shown1
name1:stock1:shown1

etc., ad nauseum.

Well, I'll work on it. That's really the only option anyway.