I spoke too soon. Fixed tefs dirty FindBin hack with Dir::Self, which is designed for this sort of thing. Now tests work again \o/

This commit is contained in:
shabble 2009-11-12 00:26:01 +00:00
parent faf81ac08b
commit 4ba776be6a
1 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ use warnings;
use Math::Random;
use TeX::Hyphen;
use Data::Dumper;
use FindBin qw($RealBin);
use Dir::Self;
use Carp;
@ -80,14 +80,14 @@ use warnings;
(
isa => 'Str',
is => 'ro',
default => sub { $RealBin . '/hyphen.tex' },
default => sub { __DIR__ . '/hyphen.tex' },
);
has 'stopwords_file' =>
(
isa => 'Str',
is => 'ro',
default => sub { $RealBin . '/stopwords' },
default => sub { __DIR__ . '/stopwords' },
);
has 'debug' =>