in reply to Re^3: How to get an acceptable H::T AoH ref
in thread How to get an acceptable H::T AoH ref

Okay, you are right dragonchild. Thanks for your solution—I would have never figured it out on my own.

However, nothing worked until I added a slash* in front of @$, so:

params(showlist => \@$allshows);

*thanks to the HTML::Template mail serve


—Brad
"Don't ever take a fence down until you know the reason it was put up." G. K. Chesterton

Replies are listed 'Best First'.
Re^5: How to get an acceptable H::T AoH ref
by dragonchild (Archbishop) on Sep 11, 2004 at 22:22 UTC
    Don't do that! You're taking a reference of an array that only exists because you dereferenced a reference to an array. In other words, try param( showlist => $allshows ); before you do that hokey crap from the H::T mail server. Gods! Who came up with that stupidity??

    ------
    We are the carpenters and bricklayers of the Information Age.

    Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

    I shouldn't have to say this, but any code, unless otherwise stated, is untested