Re: Multiple Perl Releases

Martin MC Brown <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
On 25 Jul 2006, at 16:21, Albert E. Whale wrote:

>
> In a previous thread, I am attempting to clear a problem with the  
> Perl Modules in a server which had multiple releases of Perl.  To  
> document this, I offer the following:
> ...
> Does this mean that perl ONLY loads the information in perl5,  
> site_perl and vendor_perl for version 5.8.6?
>
> Can I safely remove any of the other versions?

The directories searched for modules by Perl depends on how your Perl  
was installed. You can always determine the default path by using the  
-V command line option to Perl, i.e.:

$ perl -V

The value of @INC is the list of directories searched, and will tell  
you what directories are being used and which are being ignored.

> Any help in clarifying this problem would be appreciated:
>
> Can't locate object method "finish" via package "DBI::db" at /var/ 
> www/html/.ServAdmin/ServerAdministrator.pm line 70.

As previously described in my email to you just a few hours ago, the  
finish() method should be used on the statement handler, not the  
database handler. The error you are getting above usually means you  
are calling the method on the database handler.

MC

--
Martin MC Brown, Technical Writer
MySQL AB, http://www.mysql.com
Skype: mcmcslp



-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.