projects
/
MojoFacets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
5543557
)
use full_path
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 28 Dec 2010 16:48:59 +0000
(17:48 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 28 Dec 2010 16:48:59 +0000
(17:48 +0100)
lib/MojoFacets/Import/SQL.pm
patch
|
blob
|
history
diff --git
a/lib/MojoFacets/Import/SQL.pm
b/lib/MojoFacets/Import/SQL.pm
index
86e8b7b
..
540328a
100644
(file)
--- 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;
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!