This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Don't let feature.pm interfere with the tests for use VERSION.
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sat, 3 Mar 2007 10:09:49 +0000 (10:09 +0000)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Sat, 3 Mar 2007 10:09:49 +0000 (10:09 +0000)
That probably needs to be refined.

p4raw-id: //depot/perl@30450

t/comp/use.t

index 1bbf484..a6ea3e6 100755 (executable)
@@ -3,6 +3,7 @@
 BEGIN {
     chdir 't' if -d 't';
     @INC = '../lib';
+    $INC{"feature.pm"} = 1; # so we don't attempt to load feature.pm
 }
 
 print "1..59\n";