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)

Tuesday August 20, 2002
01:40 PM

Command Line Decision

[ #7195 ]
You know you haven't quite got the hang of this testing thing when you realize that, since you've been writing a test script and unit tests, you've been coding entirely inside the unit being tested, completely inappropriately. Sigh.

My short-sightedness will hurt in the short run but help in the long run, because (hopefully) I'm going to learn this lesson here and not mangle future projects. The Function Call Needs To Return Simple Things, and it's not, it's returning oodles of text. It needs to return either the links between the given links, or the start link, the links between, and the end link, all as an array. (I've actually thought that this should be switchable behavior, but then the question is which to have default. Probably the first idea (just the links between) because any script calling this function will presumably have the start/end links already, and can do what it needs with them on its own. Conceptually, though, it should return the whole chain, start, end, and all in between.)

I'll decide when I get home. I have to go whup my work-trainer at _Halo_ in a few hours. :)

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.