From 70e19d3eacd9c35d5c94d0958337527a96f5c435 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Tue, 28 Dec 2010 17:48:59 +0100 Subject: [PATCH] use full_path --- lib/MojoFacets/Import/SQL.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/MojoFacets/Import/SQL.pm b/lib/MojoFacets/Import/SQL.pm index 86e8b7b..540328a 100644 --- a/lib/MojoFacets/Import/SQL.pm +++ b/lib/MojoFacets/Import/SQL.pm @@ -10,12 +10,12 @@ use File::Slurp; use Data::Dump qw(dump); use Encode; -__PACKAGE__->attr('path'); +__PACKAGE__->attr('full_path'); sub data { my $self = shift; - my $path = $self->path; + my $path = $self->full_path; my $sql = read_file $path, { binmode => ':raw' }; # FIXME configurable! -- 2.20.1