Re: END ing in a cgi script

2007-02-16 Thread Owen Cook
On Fri, Feb 16, 2007 at 08:27:38PM -0800, Mary Anderson wrote: Hi all, My perl-cgi application creates some temporary files and a temporary table which I would like to clean up as I exit the program. I tried writing a perl END block, but found that did not work. It appeared that to

Re: What is the reason for different outputs for a cgi script run from a browser and run from the command line?

2006-06-20 Thread Owen Cook
On Tue, 20 Jun 2006, sfantar wrote: David Dorward a écrit : On Tue, Jun 20, 2006 at 10:25:33AM +0200, sfantar wrote: Why are there differences between the output of the CGI mentioned below which displays the content of $ENV{HOME} et $ENV{PATH}? The environment the webserver runs

Re: Hi, strange problem on calculation

2005-12-07 Thread Owen Cook
On Wed, 7 Dec 2005 [EMAIL PROTECTED] wrote: Hi, I don't know why the result of my calculation doesn't make sense! foreach('0.43','-0.12','-0.08','-0.17','-0.06') { $value = $value + ($_); } print $value . br; Value = -2.77555756156289e-17 Should be 0.00 What is the

Re: use CGI qw(:standard);

2004-06-11 Thread Owen Cook
On Fri, 11 Jun 2004, Werner Otto wrote: I am making use of use CGI qw(:standard); to create my form. I need to amend the size of a submit button and need to tell the button which script to call (ie. action=test.cgi). Where can I find documentation on all the attributes of the components,