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)

Wednesday January 02, 2002
07:30 PM

Fiddle-Dee-Dee

[ #1875 ]
I don't know if I should celebrate. Through trial and error, I managed to (I think) properly force list context and dereference on td().

print tr([ td([ ('one datum', 'another', 'yet another datum') ]) ]);

And those print properly, as separated datums. However, the notation confuses me so much I code it as:

print tr([
td([
(
'one datum', 'another', 'yet another datum'
)
])
]);

just to keep it straight when I look at it.

I'm starting to think maybe it's not the best idea.

Anyway, as is obvious if you've somehow managed to slog through this thing, I'm back to working on the cart script.

I'm still not updating the cart in any way, shape, or form; so, to celebrate the fact that I know how to test now, that is my next step. Write a series of tests that will see if the cart is updating properly, and then make them pass.

I really, really have a hard time imagining how to write tests, but I'm told the practice will be worth it.

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