Gerald Richter wrote:
> 
> >
> Here is what I would do
> 
> [- @STATE_ABBREVIATIONS = sort keys %STATES -]
> <SELECT NAME="state">
>         <OPTION VALUE="[+ $abr=$STATE_ABBREVIATIONS[$row]+]">[+
> $STATES{$abr}{name}+]</OPTION>
> </SELECT>

A while ago I was sent this solution to display a complex hash in a
select list.

Works like a champ, however in my web error log I'm getting warnings
about $abr not being previously initialized.  I've tried initializing it
by setting it to zero just prior to each select as such:

[- $abr = 0; -]<SELECT.....>.....

but I continue to receive this error.  I know it's just a warning but is
there anyway to get rid of this warning?
--
__________________________________________________________
Mr. Erich L. Markert                     [EMAIL PROTECTED]
Computer Learning Center                 TEL (914)422-4328
Pace University
1 Martine Ave
White Plains, New York 10606-1932

Those who do not understand Unix are condemned to reinvent it, poorly.
                -- Henry Spencer

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to