hi there,
how do i call a subroutine from one cgi to another?
Regards
Otto
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
Hi there,
Is there any way that I can call a specific sub from a cgi script.
i.e.
script1.cgi
sub print1
{
print hello1;
}
sub print2
{
print hello2;
}
script2.cgi
my messy code:
require(/home/user/public_html/script1.cgi.script2());
obviously this does not compile. But the results needed when
Hi Otto,
Werner Otto wrote on 25.05.2004:
Hi there,
Is there any way that I can call a specific sub from a cgi script.
i.e.
script1.cgi
sub print1
{
print hello1;
}
sub print2
{
print hello2;
}
script2.cgi
my messy code:
require(/home/user/public_html/script1.cgi.script2());
Werner Otto wrote on 25.05.2004:
Im lost, could you give me an example, please...
Please cc the list...
On Tue, 25 May 2004 13:13:29 +0200, Jan Eden [EMAIL PROTECTED] wrote:
Hi Otto,
Werner Otto wrote on 25.05.2004:
Hi there,
Is there any way that I can call a specific sub from a cgi
Hi there,
I have created the module and called it SimpleModule.pm.
Here is the code:
#!/usr/bin/perl
package TestModule;
use DBI;
use Exporter;
our @ISA = qw(Exporter);
our @EXPORT = qw(connect_db);
our $VERSION = 1.0;
use strict;
sub connect_db
{
my $db=testdb;
my $host=server;
my
Hi,
I hope this is the right mailing list for this question.
I'm trying to install Text::Aspell and I'm having a problem in the make
process:
# make log.log
Aspell.xs:7:20: aspell.h: No such file or directory
Aspell.xs:12: parse error before AspellCanHaveError
Aspell.xs:12: warning: no