Changeset 84 in bookmarks


Ignore:
Timestamp:
06/03/15 21:31:18 (10 years ago)
Author:
peter
Message:

issue #9: use FindBin to get the actual path to the bookmarks.sql

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Bookmarks.pm

    r78 r84  
    4040    my $self = shift; 
    4141    require File::Slurp; 
    42     my $table_definitions = File::Slurp::read_file('bookmarks.sql'); 
     42    require FindBin; 
     43    my $table_definitions = File::Slurp::read_file("$FindBin::RealBin/bookmarks.sql"); 
    4344    $self->dbh->{sqlite_allow_multiple_statements} = 1; 
    4445    $self->dbh->do($table_definitions); 
Note: See TracChangeset for help on using the changeset viewer.