On Monday, Jun 9, 2003, at 13:05 US/Pacific, steve ryan wrote:
[..]
So... i do my hex to ascii translation first, and the character replace
second.
so simple.
AARRRGH! :)
Huzzah!
Welcome on the BigBus!!! Those who have headBashed in public that
DuhMoment
There is always this ungainly probl
PROTECTED]>
Sent: Monday, June 09, 2003 12:07 AM
Subject: RE: Simple character replace problem
> Talk about a confusing-looking hack, but this one seemed to work to take
> care of the hex values.
>
> $value =~ s/(\%){1}(\d|[a-fA-F]){1}(\d|[a-fA-F]){1}/ /g;
>
>
> Scot R.
Also,
Maybe you may want to try using CGI.pm to get query
strings.
==
use strict;
use CGI;
my $cgiObject = new CGI;
my @params = $cgiObject->params();
foreach my $paramKey (@params){
print "Param: $paramKey = " .
$cgiObject->param($paramKey);
}
==
That may h
On Sunday, Jun 8, 2003, at 15:38 US/Pacific, steve ryan wrote:
[..]
The problem is -
1. My "+" symbols are not being replaced (i.e. the spaces in the form)
2. My HEX/Ascii conversion isn't working (i.e. i am getting things
like %2C)
[..]
steve,
First off, I do so try to avoid using "\n" and "\
Talk about a confusing-looking hack, but this one seemed to work to take
care of the hex values.
$value =~ s/(\%){1}(\d|[a-fA-F]){1}(\d|[a-fA-F]){1}/ /g;
Scot R.
inSite
-Original Message-
From: steve ryan [mailto:[EMAIL PROTECTED]
Sent: Sunday, June 08, 2003 5:38 PM
To: [EMAIL PROTECTE