Jamie,

Use the perl internal variables to figure out what version you're running under: $] 
and $^V
Use these whether you're running perl or mod_perl. You might want to direct questions 
relating to perl in general to the perl beginners list.
Please see perldoc perlvar for more details.

~mark.

On Thu, Aug 29, 2002 at 10:44:15AM +0100, [EMAIL PROTECTED] wrote:
> Hi,
> 
> This is probably a luser error as I am quite new to this malarkey, however I have 
>been experimenting for a while without progress now. I need to know how to find out 
>exactly which version of perl mod_perl is configured to use, and if this can be 
>changed as a non-root user, and how to set the @INC.
> 
> I have a simple startup script that prints @INC, which prints
> @INC: /sbcimp/run/pd/perl/5.005_03/lib/sun4-solaris
> /sbcimp/run/pd/perl/5.005_03/lib
> /sbcimp/run/pd/perl/5.005_03/lib/site_perl/sun4-solaris
> /sbcimp/run/pd/perl/5.005_03/lib/site_perl
> 
> this makes me think I am running 5.005_03? 
> 
> In the conf file I have 
> PerlSetEnv PERL5LIB 
>/sbcimp/run/pd/perl/5.6.1/lib:/sbcimp/run/pd/cpan/5.6.1-2002.06/lib
> but this does not seem to update the @INC. (I've also tried combinations of PERLLIB 
>and SetEnv etc).
> 
> When this is set however I get the following errors
> Can't locate object method "boot" via package "mod_perl" at 
>/sbcimp/run/pd/perl/5.005_03/lib/site_perl/sun4-solaris/Apache/Constants.pm line 8.
> and
> [Thu Aug 29 10:41:12 2002] [error] syntax error at 
>/sbcimp/run/pd/perl/5.6.1/lib/warnings.pm line 306, near "{^"
> syntax error at /sbcimp/run/pd/perl/5.6.1/lib/warnings.pm line 311, near "{^"
> 
> etc, which is making me think I am mixing incompatible perl binaries and modules. 
> 
> Does that seem reasonable, and if so what can I do to use perl 5.6.1?
> 
> Many thanks for your time.
> jamie
> 
> 
> Visit our website at http://www.ubswarburg.com
> 
> This message contains confidential information and is intended only 
> for the individual named.  If you are not the named addressee you 
> should not disseminate, distribute or copy this e-mail.  Please 
> notify the sender immediately by e-mail if you have received this 
> e-mail by mistake and delete this e-mail from your system.
> 
> E-mail transmission cannot be guaranteed to be secure or error-free 
> as information could be intercepted, corrupted, lost, destroyed, 
> arrive late or incomplete, or contain viruses.  The sender therefore 
> does not accept liability for any errors or omissions in the contents 
> of this message which arise as a result of e-mail transmission.  If 
> verification is required please request a hard-copy version.  This 
> message is provided for informational purposes and should not be 
> construed as a solicitation or offer to buy or sell any securities or 
> related financial instruments.

Reply via email to