Help for this page

Select Code to Download


  1. or download this
    my $ProgramDir;
    BEGIN{
    ...
    }
    use lib ( $ProgramDir, ); # Current Program's Dir
    use MyModule ("$ProgramDir/MyModule.db3");
    
  2. or download this
    !/usr/bin/perl -w
    use strict;
    ...
       ## Delay this setting till AFTER IMPORT !!
       MyModule::DBI->connection(qq|dbi:SQLite:dbname=$DBPath|, "", "");
    }