K
kath
Hi all,
I have small doubt, the following code works fine in Apache server.
But not completely in Tomcat. Why??
------------------------
#!C:\Perl\bin\perl.exe
# hello.pl
use CGI;
$cgi = new CGI;
print $cgi->header;
printf "Hello world";
system("perl Hi.pl");
------------------------
#!C:\Perl\bin\perl.exe
# hi.pl
print "Hi";
------------------------
When I tried in Tomcat, the script prints only
Hello world
Why?
What's wrong?
kath.
I have small doubt, the following code works fine in Apache server.
But not completely in Tomcat. Why??
------------------------
#!C:\Perl\bin\perl.exe
# hello.pl
use CGI;
$cgi = new CGI;
print $cgi->header;
printf "Hello world";
system("perl Hi.pl");
------------------------
#!C:\Perl\bin\perl.exe
# hi.pl
print "Hi";
------------------------
When I tried in Tomcat, the script prints only
Hello world
Why?
What's wrong?
kath.