Re: [Perl-unix-users] Error on cgi program

2006-06-28 Thread Russbucket
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]

Re: [Perl-unix-users] Error on cgi program

2006-06-27 Thread Russbucket
On Tuesday 27 June 2006 16:47, Kevin J. Woolley wrote: > Russbucket wrote: > > SUSE Linux 10.0 perl 5.8.7-5.3 > > > > I have a Perl (cgi) program that runs under windows. I am moving it to > > Linux. When I execute it from the command line (/usr/bin/perl > > memberretreive.cgi -cw) I get an error

Re: [Perl-unix-users] Error on cgi program

2006-06-27 Thread Kevin J. Woolley
Russbucket wrote: > SUSE Linux 10.0 perl 5.8.7-5.3 > > I have a Perl (cgi) program that runs under windows. I am moving it to Linux. > When I execute it from the command line (/usr/bin/perl memberretreive.cgi > -cw) I get an error that says there is an error after the C in line 11. > > this is

[Perl-unix-users] Error on cgi program

2006-06-27 Thread Russbucket
SUSE Linux 10.0 perl 5.8.7-5.3 I have a Perl (cgi) program that runs under windows. I am moving it to Linux. When I execute it from the command line (/usr/bin/perl memberretreive.cgi -cw) I get an error that says there is an error after the C in line 11. this is the line: $value =~ s/%(