slight correction, one variable is a passed param but the others is
retirieved from a database with DBI.
On Monday 25 Mar 2002 3:41 pm, Hanson, Robert wrote:
> Look at CGI.pm for grabbing form data...
>
> use CGI qw/:standard/;
>
> my $diff = param('val1') - param('val2');
>
> Rob
>
> -----Original Message-----
> From: Matthew Harrison [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 25, 2002 9:20 AM
> To: [EMAIL PROTECTED]
> Subject: arithmetic operators
>
>
> in short, how can i take 2 values from params passed to the script in a
> form, and get a third variable from subtracting the first 2?
--
Matthew Harrison
Internet/Network Services Administrator
Peanut-Butter Cheesecake Hosting Services
Genstate
www.peanutbuttercheesecake.co.uk
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]