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)

Tuesday June 25, 2002
03:10 PM

Embarrassment

[ #5939 ]
I've spent the last half hour cursing my data structures and references to them.

I'm working with HTML::Template's loop function, and it needs an array of anonymous hashes inside an array. I typed the code as I thought it should look, fired up Apache, tried it...failure. References popping through.

Hm. So I kept fiddling, and fiddling, and fiddling...

...and just realized that my last line, print template; should have been print template->output(); I restored my data structures and references to their original state and fixed the print statement. Everything worked. :(

The deranged notion of a HTML::Template::Template module came to mind...but it quickly passed. :\

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.
  • I've spent the last half hour cursing my data structures and references to them.

    That's your problem. You have to bless your structures to make them more objectionable.