in reply to Odd number of hash elements error_log entry

The hash reference:
{ -bgcolor => "#" . $bgcolor . $bgcolor . $bgcolor, 'align="left"', }
has a key, a value, and a key with no value. Perhaps you meant to do:
{ -bgcolor => "#" . $bgcolor . $bgcolor . $bgcolor, -align => 'left', }
Likewise for your other hash reference.

japhy -- Perl and Regex Hacker

Replies are listed 'Best First'.
Re: Re: Odd number of hash elements error_log entry
by Hero Zzyzzx (Curate) on Apr 09, 2001 at 20:11 UTC

    BINGO!!
    The strange thing was that it worked fine. I guess my syntax wasn't completely correct and I need to figure out CGI.pm a little more.

    Gracias, japhy!