Author: stas Date: Sun Dec 19 19:41:37 2004 New Revision: 122798 URL: http://svn.apache.org/viewcvs?view=rev&rev=122798 Log: avoid warning: used only once: possible typo at ...
Modified: httpd/test/trunk/perl-framework/Apache-Test/Makefile.PL Modified: httpd/test/trunk/perl-framework/Apache-Test/Makefile.PL Url: http://svn.apache.org/viewcvs/httpd/test/trunk/perl-framework/Apache-Test/Makefile.PL?view=diff&rev=122798&p1=httpd/test/trunk/perl-framework/Apache-Test/Makefile.PL&r1=122797&p2=httpd/test/trunk/perl-framework/Apache-Test/Makefile.PL&r2=122798 ============================================================================== --- httpd/test/trunk/perl-framework/Apache-Test/Makefile.PL (original) +++ httpd/test/trunk/perl-framework/Apache-Test/Makefile.PL Sun Dec 19 19:41:37 2004 @@ -145,7 +145,6 @@ # now that we're using subversion, make sure that # .svn directories are skipped during the build process # for old versions of MakeMaker - *MY::libscan = sub { my $self = shift; @@ -155,6 +154,8 @@ return $path; }; + # avoid warning: used only once: possible typo at ... + *MY::libscan = *MY::libscan; } sub MY::postamble { @@ -207,7 +208,7 @@ $string; }; - *MY::top_targets = sub { + *MY::top_targets = sub { my $self = shift; my $string = $self->MM::top_targets;