in reply to Can't get the right array value

One more thing... The ' eq "9"' test in your elsif statement is pointless. If status is 9 then the first test will catch it and the second test will be skipped. Perhaps you want that to just be: if ($status eq "3" or $status eq "9") - danboo

Replies are listed 'Best First'.
Re: Re: Can't get the right array value
by DaWolf (Curate) on Nov 07, 2001 at 18:41 UTC
    The "eq 9" thing looks pointless, but since the app will have tons of other elsif's it wont be pointless in a near future.

    Er Galvão Abbott
    a.k.a. Lobo, DaWolf
    Webdeveloper