On Wednesday 28 June 2006 06:25, you wrote:
> > $value =~ s/%([a-fA-F0-9] [a-fA-F0-9]) /pack(''C'', hex($1))/eg;
>
> I could be wrong, but I believe your problem is in using doubled
> single-quotes around the C instead of double-quotes. Try this:
>
> $value =~ s/%([a-fA-F0-9] [a-fA-F0-9]) /pack("C", hex($1))/eg;
>
> HTH,
>
> Deane
Actually had same comment from someone else and that was the problem. Trouble
is I did not put the single quotes in. They were originally double quote. It
appears Kate (editor) is changing them or ? I found the same thing thru out
the whole script and changed it. Only other answer is Windows and Linux
translate the characters differently.
Thanks for your reply !!
--
Russ
_______________________________________________
Perl-Unix-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs