in reply to Re: HTML::Templates and Array Refs
in thread HTML::Templates and Array Refs

Thank you! That worked.

And don't worry, I won't be displaying these on a page. I was just doing that for testing purposes. They will eventually be piped into a database.

- wil
  • Comment on (wil) Re: Re: HTML::Templates and Array Refs

Replies are listed 'Best First'.
3Re: HTML::Templates and Array Refs
by jeffa (Bishop) on Mar 16, 2004 at 15:08 UTC
    A tip that might help you solve these problems on your own next time. Use Data::Dumper! I always dump the data structure in question to STDERR first:
    use Data::Dumper; ... warn Dumper \@messages;
    H::T can still leave you befuddled as to why it got the wrong "data type", but 9 times out of 10 Data::Dumper has shown me the light. ;)

    jeffa

    L-LL-L--L-LL-L--L-LL-L--
    -R--R-RR-R--R-RR-R--R-RR
    B--B--B--B--B--B--B--B--
    H---H---H---H---H---H---
    (the triplet paradiddle with high-hat)