Hello all,
We are facing a problem while configuring perl-module in Apache webserver 
in the Solaris environment.
The Server configuratin is as follows:
OS : Solaris 2.7 SunOS 5.7 Sparc machine.
 Apache/1.3.20 (Unix) mod_fastcgi/2.2.10 mod_perl/1.26
We have installed a VSWAP1.1.6 which is a WAP test suite. The main file in 
this suite is index.eml

1.> When we execute the index.eml file , we get the following error
" String found where operator expected" wherever a subroutine was used.
As suggested by a member of the mod_perl group, we inserted parenthesis for 
parameters of the subroutines.
2.>This solved the error, but there was another error :
"Undefined subroutine &Apache::ROOT::vswap1_2e1_2e6::index_2eeml::my_start 
called at /apps/vswap1.1.6/index.eml line 12".
This could be solved by declaring "package main" in the perlmodule (.pm) 
file and referring all subroutines as (package name):: (subroutine) in the 
.eml file.
refence url: http://perl.apache.org/dist/mod_perl_traps.html  (Section: 
Perl Modules and Extensions )
3.>This gave another error
"Undefined subroutine &Apache::ROOT::vswap1_2e1_2e6::index_2eeml::p "
However this error could not be solved by the method in point (2)

Basically, we feel that there should not be any need to change the source 
code , the reason being we have installed the same test suite on a Linux 
machine.
and it works fine there without any changes to the source code.
Configuration of Linux:
Apache/1.3.12 (Unix) (SuSE/Linux) ApacheJServ/1.1.2 mod_fastcgi/2.2.2 
balanced_by_mod_backhand/1.0.8 DAV/1.0.0 mod_perl/1.24 PHP/3.0.16

Any quick help in this regard would be highly appreciated.

regards,
Pratiksha,






**********************************************************************
The information contained in this message or any of its attachments may be 
confidential and is intended for the exclusive use of the addressee(s). Any 
disclosure, reproduction, distribution or other dissemination or use of this 
communication is strictly prohibited without the express permission of the sender. The 
views expressed in this email are those of the individual and not necessarily those of 
Sony or Sony affiliated companies. Sony email is for business use only. 

This email and any response may be monitored by Sony UK. If you have received this 
transmission in error, please contact our Helpdesk by email on  
[EMAIL PROTECTED]
(05)
**********************************************************************

Reply via email to