Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

  • Loading branch information...
commit 6901a5606f34323cd71146fddc820c8068e77bff 1 parent 7bfd715
Buddy Burden authored October 14, 2011
1  lib/Data/Random.pm
@@ -11,7 +11,6 @@ package Data::Random;
11 11
 ################################################################################
12 12
 use 5.005_62;
13 13
 
14  
-use lib qw(..);
15 14
 use Carp qw(cluck);
16 15
 
17 16
 #use Data::Random::WordList;
13  t/00.load.t
... ...
@@ -0,0 +1,13 @@
  1
+# -*- perl -*-
  2
+
  3
+# t/00.load.t - check module loading
  4
+
  5
+use Test::More tests => 2;
  6
+
  7
+
  8
+BEGIN { use_ok( 'Data::Random' ); }
  9
+
  10
+isnt $INC[0], '..', 'no longer corrupting @INC';
  11
+
  12
+
  13
+done_testing;

0 notes on commit 6901a56

Please sign in to comment.
Something went wrong with that request. Please try again.