From: Mike Taylor Date: Mon, 30 Oct 2006 14:57:14 +0000 (+0000) Subject: Remove stupid and fragile "use lib" hack, now that the Apache X-Git-Tag: CPAN-v1.02~54^2~820 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=450eb5d3b6a49fe5cc98a3b5f2d45eeaaff6754f Remove stupid and fragile "use lib" hack, now that the Apache configuration is correct. --- diff --git a/lib/ZOOM/IRSpy.pm b/lib/ZOOM/IRSpy.pm index 52c586e..43f1d1a 100644 --- a/lib/ZOOM/IRSpy.pm +++ b/lib/ZOOM/IRSpy.pm @@ -1,4 +1,4 @@ -# $Id: IRSpy.pm,v 1.42 2006-10-27 15:36:04 mike Exp $ +# $Id: IRSpy.pm,v 1.43 2006-10-30 14:57:14 mike Exp $ package ZOOM::IRSpy; @@ -472,13 +472,6 @@ sub _gather_tests { my $fullName = "ZOOM/IRSpy/Test/$slashSeperatedTname.pm"; eval { - ### This next line shouldn't be necessary, as we should - # already be running in an environment where the test - # modules are available -- otherwise, how did _this_ module - # get loaded? But it seems that for reasons I don't - # understand we do sometimes (not always!) need this when - # running under Apache. - use lib '/usr/local/src/cvs/irspy/lib'; require $fullName; $this->log("irspy", "successfully required '$fullName'"); }; if ($@) {