Hi Michael, On Mon, Jul 05, 2004 at 12:21:09PM +1000, Michael Kraus wrote: > Using the Perl CGI module is there a function similar to > save_parameters() (save if using OO) that decodes the HTML'ised text? > (Ie. Will print "[EMAIL PROTECTED]" rather than > "Email=mkraus%40wildtechnology.net") > > I'm wanting to save the values of forms without having to have separate > scripts for different forms, in a human-readable fashion.
Not in CGI (I think it only handles html escaping, not unescaping). You probably want URI::Escape's uri_unescape here, since form parameters are URI escaped, not HTML escaped (which is & -> & style - for that you'd use HTML::Entities). Cheers, Gavin -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html