CGI.pm and scrolling list box code error
am 31.05.2011 02:48:44 von John M Rathbun MD--------------020805030008080906060702
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Hello, World!
I'm an amateur programmer trying to convert some of my old BASIC=20
programs to run in a browser so people don't have to download and=20
install software. I'm having a problem with my current project because=20
CGI.pm is generating some funny code when I try to evoke a scrolling=20
list box.
Here's the relevant evocation:
print scrolling_list(-name =3D> 'choose',-values=3D>@terms,-size=3D>2=
54);
The HTML code output should look something like this:
What I'm actually getting follows:
=3D"delusion of control " declarative memory =20
=3D"decreased libido " screen memory =20
=3D"seizure " olfactory hallucination =20
=3D"overvalued idea " folie =E0 deux =
=20
=3D"formication " delusion of grandeur =20
=3D"dementia " coma =20
=3D"compulsion " catatonic rigidity =20
=3D"catatonic stupor " preoccupation =20
=3D"pressure of speech " apathy =20
=3D"appropriate affect " dissociation =20
=3D"dissociative amnesia " free-floating anxiety =20
=3D"fugue " tremor =20
=3D"trichotillomania " nihilism =20
=3D"obsession " loose associations =20
=3D"macropsia " dysphoria =20
=3D"dysprosody " ideas of reference =20
=3D"illusion " clouded consciousness =20
=3D"cluttering " sundowning =20
=3D"suppression " somnolence =20
=3D"stereotypy " distractibility =20
=3D"diurnal variation of mood " shame =20
=3D"sleepwalking " negativism =20
=3D"neologism " perseveration =20
=3D"phantom limb " psychogenic mutism =20
=3D"psychomotor retardation " insight =20
=3D"insomnia " automatic obedience =20
=3D"automatism " echolalia =20
=3D"echopraxia " dystonia =20
=3D"d=E9j=E0 entendu " somatic delusion =
=20
=3D"somatization " agraphia =20
=3D"akathisia " dysarthria =20
=3D"dyscalculia " thought insertion =20
=3D"thought withdrawal " derealization =20
=3D"dereism " sublimation =20
=3D"suicidality " cataplexy =20
=3D"catatonic excitement " immediate recall =20
=3D"imperative hallucination " remote memory =20
=3D"repression " humor =20
=3D"hyperactivity " tics =20
=3D"trailing " psychosis =20
=3D"rationalization " passive-aggression =20
=3D"pathological jealousy " motor aphasia =20
=3D"needle phobia " tactile hallucination =20
=3D"tangentiality " panic =20
=3D"paranoid delusion " labile affect =20
=3D"labile mood " dysdiadochokinesia =20
=3D"dysgraphia " jamais véçu =
=20
=3D"judgment " recent memory =20
=3D"regression " performance anxiety =20
=3D"persecutory delusion " mimicry =20
=3D"moderate mental retardation " polyphagia =20
=3D"posturing " social intelligence =20
=3D"social phobia " severe mental retardation =20
=3D"sexualization " restricted affect =20
=3D"retrograde amnesia " irritable mood =20
=3D"isolation " retrospective falsification =20
=3D"schizoid fantasy " magical thinking =20
=3D"mannerism " jamais entendu =20
=3D"jamais vu " alexia =20
=3D"alexithymia " grief =20
=3D"guilt " thought broadcasting =20
=3D"thought disorder " inappropriate affect =20
=3D"inhibition " bradykinesia =20
=3D"catalepsy " mental retardation =20
=3D"mental rituals " profound mental retardation =20
=3D"projection " intelligence =20
=3D"intelligence quotient " tension =20
=3D"thought blocking " anosognosia =20
=3D"anterograde amnesia " verbigeration =20
=3D"visual hallucination " perception =20
=3D"performance IQ " denial =20
=3D"depersonalization " mood-congruent =20
=3D"mood-incongruent " intellectual insight =20
=3D"intellectualization " gustatory hallucination =20
=3D"hallucination " primary process =20
=3D"procedural memory " acrophobia =20
=3D"acting out " disorientation =20
=3D"displacement " introjection =20
=3D"intuition " erythrophobia =20
=3D"euphoria " ecstasy =20
=3D"egomania " stupor =20
=3D"stuttering " altruism =20
=3D"ambivalence " aura =20
=3D"autistic thinking " xenophobia =20
=3D"zoophobia " abstract thinking =20
=3D"acalculia " confusion =20
=3D"controlling " agnosia =20
=3D"agoraphobia " blocking =20
=3D"blunted affect " externalization =20
=3D"fear " anticipation =20
=3D"anxiety " concrete thinking =20
=3D"confabulation " poverty of content =20
=3D"poverty of speech " micropsia =20
=3D"mild mental retardation " twirling =20
=3D"verbal IQ " astasia-abasia =20
=3D"astereognosis " pseudodementia =20
=3D"pseudologia " trance =20
=3D"transient global amnesia " coprolalia =20
=3D"coprophagia " ataxia =20
=3D"auditory hallucination " eidetic memory =20
=3D"elation " hypervigilance =20
=3D"hypnagogic hallucination " dissociative identity disorder=20
=3D"distortion " global aphasia =20
=3D"glossolalia " euthymia =20
=3D"expansive mood " selective inattention =20
=3D"sensory aphasia " aggression =20
=3D"agitation " chorea =20
=3D"circumstantiality " hyperphagia =20
=3D"hypersomnia " hypnopompic hallucination =20
=3D"hypochondriasis " synesthesia =20
=3D"systematized delusion " anomia =20
=3D"anorexia " waxy flexibility =20
=3D"word salad " reaction formation =20
=3D"reality testing " anergia =20
=3D"anhedonia " flat affect =20
=3D"flight of ideas " melancholia =20
=3D"mental age " d=E9j=E0 vu =
=20
=3D"d=E9j=E0 véçu " apraxia =
=20
=3D"asceticism " depression =20
=3D"derailment " phobia =20
=3D"pica " bizarre delusion =20
=3D"blackout " delayed recall =20
=3D"delirium " dyskinesia =20
=3D"dyslexia " elevated mood =20
=3D"erotomania " clanging =20
=3D"claustrophobia ">