in reply to Re: Howto include Perl Script into CGI script
in thread Howto include Perl Script into CGI script
(You could also run the Perl script by using back-quotes, shell-script style.)Hi BerntB,
But it doesn't show the price as you try see from the link I have above. Is there anything I did wrong?sub print_results { my @top = param('toppings'); print b('Customer name: '), param('customer'), br, "You ordered ", param('no_unit'), ' unit of ', param('cone'), ' cone.'; print br; my $value = `perl compute_price.pl -type param('cone') -unit param +('no_unit')`; # Still doesn't show the value. What did I do wrong?? print 'Total price is', $value; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Howto include Perl Script into CGI script
by BerntB (Deacon) on May 17, 2006 at 09:45 UTC | |
by monkfan (Curate) on May 17, 2006 at 13:28 UTC | |
by wfsp (Abbot) on May 17, 2006 at 14:15 UTC | |
by monkfan (Curate) on May 17, 2006 at 15:18 UTC | |
by Asim (Hermit) on May 17, 2006 at 16:57 UTC |