- or download this
package Mylibrary;
use strict;
...
}
1;
- or download this
# my funky script
use strict;
...
my $dbh = Mylibrary::connect();
# get current vote:
my $current_vote = Mylibrary::get_current_vote($dbh);
- or download this
# my funky script
use strict;
use DBI;
use lib '/path/to/my/library/';
use Mylibrary;