Re: My script is...

2012-09-14 Thread Rob Dixon
On 14/09/2012 14:31, Rob Coops wrote: On Fri, Sep 14, 2012 at 2:52 PM, wrote: I appreciate the helpful input. It appears from my server stats that the script in question has only run a couple of times a day on average, so that's fewer than a thousand instances in the past year. I ran LOTS of

Re: My script is...

2012-09-14 Thread Shawn H Corey
On Fri, 14 Sep 2012 15:31:58 +0200 Rob Coops wrote: > Basically every one on this list has said the same. The script is a > mess it is hard to read hard to maintain and should be cleaned up > before we can really comment on this. The easiest way to tidy a Perl script is to run perltidy. Download

Re: My script is...

2012-09-14 Thread Rob Coops
On Fri, Sep 14, 2012 at 2:52 PM, wrote: > I appreciate the helpful input. > > It appears from my server stats that the script in question has only run a > couple of times a day on average, so that's fewer than a thousand > instances in > the past year. I ran LOTS of tests of the script, none of w

My script is...

2012-09-14 Thread jmrhide-perl
I appreciate the helpful input. It appears from my server stats that the script in question has only run a couple of times a day on average, so that's fewer than a thousand instances in the past year. I ran LOTS of tests of the script, none of which hung or produced unexpected output. If the

Re: My script is OUT OF CONTROL!

2012-09-14 Thread John W. Krahn
jmrhide-p...@yahoo.com wrote: Hi, and thanks for volunteering to help! I installed the following script last year and it seemed to be working fine. Yesterday, however, my hosting service took down my site because the script was tying up so much of their server resources that it was a threat to

Re: My script is OUT OF CONTROL!

2012-09-13 Thread Peter Scott
Set up some test harnesses to run from the command line so you can see how your script behaves without having to run it through a web server. Since it gets its input from a cookie, set the environment variable HTTP_COOKIE to each test value in turn and execute the script. (You'll get a mess o

Re: My script is OUT OF CONTROL!

2012-09-13 Thread Paul Anderson
Just checked on my machine, looks like it produces a floating point number between 0 and 1. Paul Anderson -- VE3HOP On 2012-09-13, at 8:07 PM, Jim Gibson wrote: > > (I am not sure exactly what rand(0) returns). -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additi

Re: My script is OUT OF CONTROL!

2012-09-13 Thread Rob Dixon
On 13/09/2012 23:42, jmrhide-p...@yahoo.com wrote: > > I installed the following script last year and it seemed to be working fine. > Yesterday, however, my hosting service took down my site because the script > was > tying up so much of their server resources that it was a threat to their > busi

Re: My script is OUT OF CONTROL!

2012-09-13 Thread Jim Gibson
On Sep 13, 2012, at 3:42 PM, jmrhide-p...@yahoo.com wrote: > Hi, and thanks for volunteering to help! > > > I installed the following script last year and it seemed to be working fine. > Yesterday, however, my hosting service took down my site because the script > was > tying up so much of t

My script is OUT OF CONTROL!

2012-09-13 Thread jmrhide-perl
Hi, and thanks for volunteering to help! I installed the following script last year and it seemed to be working fine. Yesterday, however, my hosting service took down my site because the script was tying up so much of their server resources that it was a threat to their business. One of the fo