J
James
Hi,
I have the following:
filename: Module1.pm
package Module1;
BEGIN {
use Exporter();
@ISA = qw(Exporter);
@EXPORT = qw(&subroutine1);
}
sub subroutine1 {print "Hello!\n";}
return 1;
END { }
---------------------------------------------------
Filename: Trial.cgi running in Tomcat 4.1.27
#!c:\Perl\bin\perl.exe
use CGI
use Module1;
subroutine1();
..
..
..
..
When I run the script from my html page it asks for a file download. What am
I doing wrong?
Thanks, James
I have the following:
filename: Module1.pm
package Module1;
BEGIN {
use Exporter();
@ISA = qw(Exporter);
@EXPORT = qw(&subroutine1);
}
sub subroutine1 {print "Hello!\n";}
return 1;
END { }
---------------------------------------------------
Filename: Trial.cgi running in Tomcat 4.1.27
#!c:\Perl\bin\perl.exe
use CGI
use Module1;
subroutine1();
..
..
..
..
When I run the script from my html page it asks for a file download. What am
I doing wrong?
Thanks, James