Re: CGI.pm strange results

2003-03-04 Thread fliptop
On Tue, 4 Mar 2003 at 08:12, Todd W opined: TW:my( $string ) = "you ordered $q->param('quantity') foobars\n"; TW: TW:The quoting mechanism knows nothing about evaluating expressions. That's TW:what concatenation is for: TW: TW:my( $string ) = "you ordered " . $q->param('quantity') . " foobars\n";

Re: CGI.pm strange results

2003-03-04 Thread Todd W
"Zentara" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Mon, 3 Mar 2003 16:07:26 -0500, [EMAIL PROTECTED] (Todd Wade) wrote: > > > > >"Zentara" <[EMAIL PROTECTED]> wrote in message > >> > >> You might want to try assigning a variable name to param("quantity") > >> first, before

Re: CGI.pm strange results

2003-03-04 Thread zentara
On Mon, 3 Mar 2003 16:07:26 -0500, [EMAIL PROTECTED] (Todd Wade) wrote: > >"Zentara" <[EMAIL PROTECTED]> wrote in message >> >> You might want to try assigning a variable name to param("quantity") >> first, before you set up the table. I don't know why, but sometimes >> the scripts don't like it a

Re: CGI.pm strange results

2003-03-03 Thread Todd Wade
"Zentara" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sun, 2 Mar 2003 10:50:39 -0600, [EMAIL PROTECTED] (David > Gilden) wrote: > > >Hello, > > > >I am not understanding why I am getting strange data from the my CGI. > >Please point out what I have done wrong. > >Thanks > >Da

Re: CGI.pm strange results

2003-03-03 Thread zentara
On Sun, 2 Mar 2003 10:50:39 -0600, [EMAIL PROTECTED] (David Gilden) wrote: >Hello, > >I am not understanding why I am getting strange data from the my CGI. >Please point out what I have done wrong. >Thanks >Dave Gilden >See the result at, you have to 'order' on item to see the problem. >

CGI.pm strange results

2003-03-02 Thread David Gilden
Hello, I am not understanding why I am getting strange data from the my CGI. Please point out what I have done wrong. Thanks Dave Gilden In the HTML some descriptive text goes here. ORDER QUANTITY In the PERL #!/usr/bin/perl -w use CGI qw/:standard/; #... unre