Guten Tag Yavor Nikolov,
am Mittwoch, 9. März 2011 um 15:40 schrieben Sie:
> The real problem may be your perl is buggy or it's configuration is
> incorrect (or is just compiled with some special restrictions) /real
> solution would be fixing perl/.
Why do you think there's a perl issue? My perl 5.12 said that $self
is undef in use lib outside a BEGIN-block, too. Regarding the docs
that can't work.
> my $installation_directory;
> BEGIN
> {
> $installation_directory = "/your/path/to/bugzilla";
> }
> use lib "$installation_directory/lib";
> use lib "$installation_directory";
> I.e. - variables initialized in BEGIN block are allowed to be referenced by
> use lib.
That won't solve the problem how to access configuration etc. I don't
think it's a good idea to put all the needed code in BEGIN-blocks.
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