From: Shawn M Moore Date: Sun, 26 Apr 2009 00:43:42 +0000 (-0400) Subject: filename not file X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=93f19e6182352c0cdbdb6c02ab79eefa7c8963e8;p=gitmo%2FPerl-Critic-Dynamic-Moose.git filename not file --- diff --git a/lib/Perl/Critic/Policy/Dynamic/Moose.pm b/lib/Perl/Critic/Policy/Dynamic/Moose.pm index e675b45..a6d84e1 100644 --- a/lib/Perl/Critic/Policy/Dynamic/Moose.pm +++ b/lib/Perl/Critic/Policy/Dynamic/Moose.pm @@ -49,7 +49,7 @@ sub compile_document { my $doc = $self->document; eval "$doc"; - die "Unable to execute " . $doc->file . ": $@"; + die "Unable to execute " . $doc->filename . ": $@"; } sub find_packages {