Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Unwrapping values in a templateby hacker (Priest) |
on Nov 15, 2003 at 02:26 UTC ( [id://307286]=note: print w/replies, xml ) | Need Help?? |
Ooooo, so close!
I was all ready to hand you the gold star for this solution, until I realized, it drops the key entirely. Try this somewhere in the code you've suggested, and then try it again after putting the url back up into place in the template, manually:
However, this works, but isn't as elegant:
Update: After screwing my head on straight, I realized that my initializer for %params was before the modification to the hash, and should have been after. This works properly, as it should:
Please ignore that man behind the curtain, it's just me making silly mistakes again.
In Section
Seekers of Perl Wisdom
|
|