in reply to Double Quotes in form hidden field values

You need to encode your values with HTML-safe entities, thus the module HTML::Entities would do the trick:

use HTML::Entities; my $item_name = q{BGUS2-108 O.D Tube:5/8" MF Solder Connection:1/2"}; my $encoded_item_name = encode_entities($item_name);

And then you'd send $encoded_item_name to the HTML form, and use decode_entities on the returned value.

Does this help?

----Asim, known to some as Woodrow.

Replies are listed 'Best First'.
Re^2: Double Quotes in form hidden field values
by dorward (Curate) on Jun 15, 2006 at 15:22 UTC

    You wouldn't use decode_entities - the data submitted by the browser is not HTML encoded. The only encoding going on is likely to be URL encoding which CGI.pm / Apache::Request / etc deal with automatically.

      Crap! Point taken. Thanks!

      ----Asim, known to some as Woodrow.