This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
& what's to be done for 5.8.0?
[perl5.git] / ext / DB_File / t / db-recno.t
index 13c6355..813c47d 100755 (executable)
@@ -1,6 +1,7 @@
 #!./perl -w
 
 BEGIN {
+    chdir 't' if -d 't';
     @INC = '../lib';
     require Config; import Config;
     if ($Config{'extensions'} !~ /\bDB_File\b/) {