Re: how to write a range of 10 to 80 as a regular expresssion

2011-06-20 Thread Dean Du
$player_total_points =~/^[1-8]\d$/ 2011/6/21 eventual > Hi, > Looking at the script below, how do I write a range of 10 to 80 as > a regular expression. > I tried [10 - 80] but it wont work. > Thanks > # script ## > > #!/usr/bin/perl > > my $player_total_points = 70; > if ( $pla

how to write a range of 10 to 80 as a regular expresssion

2011-06-20 Thread eventual
Hi, Looking at the script below, how do I write a range of 10 to 80 as a regular expression. I tried [10 - 80] but it wont work. Thanks # script ##   #!/usr/bin/perl my $player_total_points = 70; if ( $player_total_points =~/^(10..80)$/ ){     print "yes"; }else{     print "no";

Re: Convert spreadsheet to jpeg

2011-06-20 Thread Rob Coops
On Mon, Jun 20, 2011 at 9:57 PM, wrote: > Hello > > I am not an expert in perl and so before I propose that a particular script > be written I would likek to get an idea as to how hard the task would be. > > We have a large number (in my opinion) of excel spreadsheets that need to > be concerted

Convert spreadsheet to jpeg

2011-06-20 Thread andrewmchorney
Hello I am not an expert in perl and so before I propose that a particular script be written I would likek to get an idea as to how hard the task would be. We have a large number (in my opinion) of excel spreadsheets that need to be concerted to jpeg format. The jpeg files are used when a docum

Re: malformed header from script. Bad header

2011-06-20 Thread Shlomi Fish
Hi Khabza, On Mon, 20 Jun 2011 09:57:17 +0200 Khabza Mkhize wrote: > I am receiving the following error on my error log > I thought it was caused by Meta Tag content. > The program was working fine for a long time its just few day I got > this error and now it seem is consistent. > [Sun Jun 19 2

Re: malformed header from script. Bad header

2011-06-20 Thread Rob Coops
On Mon, Jun 20, 2011 at 10:32 AM, Khabza Mkhize wrote: > I am not sure if this problem is cause by print "Content-type: text/html", > "\n\n"; > > The main problem I have commented print "Content-type: text/html", "\n\n"; > since is printing line from cookies i Used > > On Mon, Jun 20, 2011 at 9:57

Re: malformed header from script. Bad header

2011-06-20 Thread Khabza Mkhize
I am not sure if this problem is cause by print "Content-type: text/html", "\n\n"; The main problem I have commented print "Content-type: text/html", "\n\n"; since is printing line from cookies i Used On Mon, Jun 20, 2011 at 9:57 AM, Khabza Mkhize wrote: > I am receiving the following error on

malformed header from script. Bad header

2011-06-20 Thread Khabza Mkhize
I am receiving the following error on my error log I thought it was caused by Meta Tag content. The program was working fine for a long time its just few day I got this error and now it seem is consistent. [Sun Jun 19 22:42:12 2011] [error] [client 98.126.251.234] malformed header from script. Bad