On Fri, 11 Jan 2002, Sabherwal, Balvinder (MBS) wrote:
> I am getting error in the debug mode as below.
> The script is as below
> #!/usr/bin/perl -w
> push(@INC,'c:\program files/apache group/apache/cgi-bin');
> use testapi;
> my $webapp = tapp->new();
> $webapp->run();
> the testapi.pm is as below
> package tapp;
> use base 'CGI::Application';
> use strict;
> # Needed for our database connection
> use DBI;
> sub setup {
What is the reason for having the name of the package, tapp,
different from the name of the module, testapi? Usually they are
the same, aren't they?
--
Greg Matheson It was said a million monkeys on a million typewriters
Chinmin College would eventually write the works of Shakespeare.
Now, thanks to the Internet, we know this is not so.
http://www.research.att.com/~reeds/monkeys.html
Taiwan Penpals Archive <URL: http://netcity.hinet.net/kurage>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]