use full_path
authorDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 28 Dec 2010 16:48:59 +0000 (17:48 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Tue, 28 Dec 2010 16:48:59 +0000 (17:48 +0100)
lib/MojoFacets/Import/SQL.pm

index 86e8b7b..540328a 100644 (file)
@@ -10,12 +10,12 @@ use File::Slurp;
 use Data::Dump qw(dump);
 use Encode;
 
 use Data::Dump qw(dump);
 use Encode;
 
-__PACKAGE__->attr('path');
+__PACKAGE__->attr('full_path');
 
 sub data {
        my $self = shift;
 
 
 sub data {
        my $self = shift;
 
-       my $path = $self->path;
+       my $path = $self->full_path;
 
        my $sql = read_file $path, { binmode => ':raw' }; # FIXME configurable!
 
 
        my $sql = read_file $path, { binmode => ':raw' }; # FIXME configurable!