Guten Tag Kristis Makris, am Dienstag, 26. Oktober 2010 um 21:03 schrieben Sie:
> http://bugzilla.mkgnu.net/show_bug.cgi?id=1073#c28 > Which file in > bugzilla is responsible for that ? THAT's the file we should be > including. I think I found the simple answer: I don't think there's a file in Bugzilla responsible for that, but every program does "use lib qw(. lib);". And the lib-pragma does recognize architecture specific sub directories on it's own. So what SCMBug has to do is to not directly add to @INC, but use "use lib" with the complete path to Bugzillas lib directory. But I didn't try that, because we just add to @INC in our projects, too. > For each directory in LIST (called $dir here) the lib module also > checks to see if a directory called $dir/$archname/auto exists. If so > the $dir/$archname directory is assumed to be a corresponding > architecture specific directory and is added to @INC in front of $dir. > lib.pm also checks if directories called $dir/$version and > $dir/$version/$archname exist and adds these directories to @INC. http://perldoc.perl.org/lib.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
