in reply to Re: Re: There's got to be a better way?
in thread There's got to be a better way?

Printing the word CHECKED is exactly what I want to do.
How about this:
print "Box 4: ", $FORM{'h04'} && 'CHECKED';
Better or worse?

--
Mark Dominus
Perl Paraphernalia

Replies are listed 'Best First'.
Re: Re: There's got to be a better way?
by srawls (Friar) on May 20, 2001 at 20:03 UTC
    ++, good solution. A minor change though, I often find it nicer with a printed text for both situations, i.e:
    print "Box 4: ", $FORM{'h04'} ? 'CHECKED' : 'NOT CHECKED';


    The 15 year old, freshman programmer,
    Stephen Rawls