http://qs321.pair.com?node_id=143559


in reply to Re: Re: Re: CGI.pm being funny?
in thread CGI.pm checkbox problem?

I am splitting a "text" field in a database by newline.
Each line is a different question.
Each question is an element in @predefined. currently there are 30 elements.
Everythings prints fine, and all values/labels match up.
Just to test your odd vs. even theory, I added a question (new line to the text field).
Everything still matches up. No shifting, no nastiness. Everythings works.
Don't know what to say.

update: Zaxo maybe, or maybe I am just crazy, or .. yeah, maybe. hrmph!

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: CGI.pm being funny?
by chipmunk (Parson) on Feb 06, 2002 at 19:02 UTC
    Thanks, but I what I really want is to see the actual code where you define @predefined.

    Barring that, I would be interested to see what you get from this: print "@predefined\n"; My expectation is that you will see something like: ARRAY(0x100eb340) because @predefined contains a single element which is a reference to an array.