escaping & in CGI.pm




Grr... Arg...

Hello all,

I'm working on my first Perl/CGI database app and run into a bit of a snag:

http://myserver/lseid.cgi?LeaseOPID=A&DT89&theCmd=EditIt

this line finds the right data however, everything after the & in the
LeaseOPID ($row-{leaseopid}) "A&DT89" gets truncated in this form line:
textfield(-name=>'LeaseOPID',
-value=>$row->{leaseopid},
-size=>8,
-maxlength=>8),p,"\nName: ",

I've tried every combination of quotes, ", ' , qw, qq, that I can think of
but no luck. Is there any way to do this? I get why it does it, just
don't know how to get around it. App works fine with data that doesn't
have ampersands in it. :)

Please feel free to beat me over the head if I don't make any sense here.

Cheers

--
Scott
.