Nikolay Melekhin wrote:
        Hello!
        I think that in Request.pm there is a small error

270c270
<           $todecode =~ s/%([0-9a-fA-F]{2})/pack("C",hex($1))/ge;
---

$todecode =~ s/%([0-9a-fA-F]{2})/pack("c",hex($1))/ge;



Good point. I just did some testing, and chr(...) seems to be faster than pack("C",...) so I'll use that instead, and we will have this in the next release:

$todecode =~ s/%([0-9a-fA-F]{2})/chr(hex($1))/ge;

Regards,

Josh

________________________________________________________________
Josh Chamas, Founder                   phone:925-552-0128
Chamas Enterprises Inc.                http://www.chamas.com
NodeWorks Link Checking                http://www.nodeworks.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to