RE: Clashing Apache::Symbol - Symbol ?

2002-08-27 Thread ODELL, TODD E (SWBT)

So with the incorrect lib, it was loading Apache::Symbol where 'use Symbol'
was found? Thanks!

-Original Message-
From: Stas Bekman [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 26, 2002 10:42 PM
To: ODELL, TODD E (SWBT)
Cc: ModPerl Mailing List
Subject: Re: Clashing Apache::Symbol - Symbol ?


ODELL, TODD E (SWBT) wrote:
 I just recently got my mod_perl to work. Config is
 mod_perl-1.27/Apache-1.3.26 on AIX 4.3.3.
 
 I wrote a PerlAuthenHandler which uses Expect.pm, requiring the normal
 Symbol.pm. In my startup.pl script for mod_perl I had this line:
 use lib qw(/usr/opt/perl5/lib/site_perl/5.6.1/aix/Apache);
 I get a bareword error when IO:Handle tries to call the
gensym(Symbol.pm)
 BUT if I comment the above line out it seems to get past that. I see that
 there is an Apache::Symbol which looks quite different than the 'normal'
 one.
 My question is by letting the normal Symbol.pm load, so IO:Handle will
work,
 is that going to mess things up since the Apache::Symbol is different? Or
 will everything be able to know which to use?

eh? why in the world you are trying to do that? there is no 
/usr/opt/perl5/lib/site_perl/5.6.1/aix/Apache, there is
/usr/opt/perl5/lib/site_perl/5.6.1/aix. Of course you will have problems 
when you load the wrong package. It's Apache::Symbol, not Symbol in the 
dir Apache/.


__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



Re: Clashing Apache::Symbol - Symbol ?

2002-08-26 Thread Stas Bekman

ODELL, TODD E (SWBT) wrote:
 I just recently got my mod_perl to work. Config is
 mod_perl-1.27/Apache-1.3.26 on AIX 4.3.3.
 
 I wrote a PerlAuthenHandler which uses Expect.pm, requiring the normal
 Symbol.pm. In my startup.pl script for mod_perl I had this line:
 use lib qw(/usr/opt/perl5/lib/site_perl/5.6.1/aix/Apache);
 I get a bareword error when IO:Handle tries to call the gensym(Symbol.pm)
 BUT if I comment the above line out it seems to get past that. I see that
 there is an Apache::Symbol which looks quite different than the 'normal'
 one.
 My question is by letting the normal Symbol.pm load, so IO:Handle will work,
 is that going to mess things up since the Apache::Symbol is different? Or
 will everything be able to know which to use?

eh? why in the world you are trying to do that? there is no 
/usr/opt/perl5/lib/site_perl/5.6.1/aix/Apache, there is
/usr/opt/perl5/lib/site_perl/5.6.1/aix. Of course you will have problems 
when you load the wrong package. It's Apache::Symbol, not Symbol in the 
dir Apache/.


__
Stas BekmanJAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide --- http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com