Author: kwilliams
Date: Wed Jan 10 21:39:03 2007
New Revision: 8541
Modified:
Module-Build/trunk/lib/Module/Build/Base.pm
Log:
Improve error message
Modified: Module-Build/trunk/lib/Module/Build/Base.pm
==============================================================================
--- Module-Build/trunk/lib/Module/Build/Base.pm (original)
+++ Module-Build/trunk/lib/Module/Build/Base.pm Wed Jan 10 21:39:03 2007
@@ -1008,7 +1008,7 @@
my ($self) = @_;
my $file = $self->config_file('build_params')
- or die "No build_params?";
+ or die "Can't find 'build_params' in " . $self->config_dir;
my $fh = IO::File->new($file) or die "Can't read '$file': $!";
my $ref = eval do {local $/; <$fh>};
die if $@;