G'day...

Ahh... Thanks...

Yes, I was using an temp file. I didn't realise that the param function
could be used in a foreach loop like that. :)

(Still a Perl newbie - I shouldn't be after 10 years of Linux, but
pleased to be programming in it now.)

Thanks 


Regards,

 

Michael S. E. Kraus

Technical Support Specialist

Wild Technology Pty Ltd

[EMAIL PROTECTED]

Direct Line 02-8306-0007 
________________________________


ABN 98 091 470 692

Level 4 Tiara, 306/9 Crystal Street, Waterloo NSW 2017, Australia

Telephone 1300-13-9453 |  Facsimile 1300-88-9453

http://www.wildtechnology.net

 

The information contained in this email message and any attachments may
be confidential information and may also be the subject of client legal
- legal professional privilege. If you are not the intended recipient,
any use, interference with, disclosure or copying of this material is
unauthorised and prohibited.   This email and any attachments are also
subject to copyright.  No part of them may be reproduced, adapted or
transmitted without the written permission of the copyright owner.  If
you have received this email in error, please immediately advise the
sender by return email and delete the message from your system.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Gavin Carr
Sent: Monday, 5 July 2004 2:25 PM
To: [EMAIL PROTECTED]
Subject: Re: [SLUG] OT: Perl: CGI.pm

On Mon, Jul 05, 2004 at 12:53:38PM +1000, Michael Kraus wrote:
> Thanks for correcting my terms... Yes, URI escaped... But is there a 
> way of using the two functions together?
> 
> (Or would I need to use an intermediate file?)

Sorry, I thought you were asking how to unescape the values.

There's no unescaped version of save_parameters, so you'd have to use
that intermediate file, or just do it yourself - isn't it just this:

  foreach my $p ($q->param) {
    printf $filehandle "%s=%s\n", $p, $q->param($p);
  }

since CGI handles all the unescaping for your within param.

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
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to