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 June 25, 2002
03:10 PM


[ #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.
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.