Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed bug where .. was spuriously being added to @INC

  • Loading branch information...
commit 6901a5606f34323cd71146fddc820c8068e77bff 1 parent 7bfd715
@barefootcoder authored
Showing with 13 additions and 1 deletion.
  1. +0 −1  lib/Data/Random.pm
  2. +13 −0 t/00.load.t
View
1  lib/Data/Random.pm
@@ -11,7 +11,6 @@ package Data::Random;
################################################################################
use 5.005_62;
-use lib qw(..);
use Carp qw(cluck);
#use Data::Random::WordList;
View
13 t/00.load.t
@@ -0,0 +1,13 @@
+# -*- perl -*-
+
+# t/00.load.t - check module loading
+
+use Test::More tests => 2;
+
+
+BEGIN { use_ok( 'Data::Random' ); }
+
+isnt $INC[0], '..', 'no longer corrupting @INC';
+
+
+done_testing;
Please sign in to comment.
Something went wrong with that request. Please try again.