Guten Tag Kristis Makris,
am Dienstag, 15. März 2011 um 01:25 schrieben Sie:
> Instead of just:
if ( $self->>is_version_gte( $VERSION_3_2_0 ) ) {
> eval "use lib \"$inst_dir\"";
> }
> ?? I do not understand why catdir was invoked. Why is the code trying to
> list the directories in the $inst_dir?
It doesn't list anything, catdir builds paths in an OS independent
way, e.g. using / vs. \. "use lib" must be used with the lib-directory
of Bugzilla because "use lib" doesn't include paths recursive, but just
subdirectories with a specified naming convention. And the lib-dir of
Bugzilla is $inst_dir/lib or $inst_dir\lib, what is built by catdir.
http://perldoc.perl.org/File/Spec/Unix.html
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
Telefon: Potsdam: 0331-743881-0
E-Mail: [email protected]
Web: http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users