Re: [cgiapp] HTML::Mason... how does it stack up

2002-01-10 Thread jshy
Alright, I am going to put in my 2 cents. Mostly because I am new at this and think that I have a point of view. Which probably isn't true. I start doing this 8 months ago. I used regular CGI.pm, then I saw the write-up on perl.com and decided to give it a go. I had tried Mason, it did not go

Re: [cgiapp] CGI Question

2002-01-10 Thread Sam Tregar
On Thu, 10 Jan 2002, Sabherwal, Balvinder (MBS) wrote: The script gets hung when it executes this line and here is what it gives in the debug mode: main::(test.cgi:34):$q = new CGI; DB1 (offline mode: enter name=value pairs on standard input) Any ideas as what am I doing wrong??

Re: [cgiapp] CGI Question

2002-01-10 Thread Brett Sanger
Any ideas as what am I doing wrong?? CGI::App does that for you. You want: my $self = shift; #The CGI::App object; my $q = $self-query; #The CGI query object. $q now works as you would expect. - To unsubscribe, e-mail:

RE: [cgiapp] CGI Question

2002-01-10 Thread Sabherwal, Balvinder (MBS)
Here is the error what I am getting now. It's complaining about the call method. main::(test.cgi:36):my $q = $self-query; #The CGI query object. DB1 Can't call method query without a package or object reference at test.cgi line 36, IN chunk 27. The script is as below:

RE: [cgiapp] CGI Question

2002-01-10 Thread Brett Sanger
Here is the error what I am getting now. It's complaining about the call method. main::(test.cgi:36):my $q = $self-query; #The CGI query object. DB1 Can't call method query without a package or object reference at test.cgi line 36, IN chunk 27. The script is as below: snippage I