blib/script/storable2dbi.pl untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 #!/usr/local/bin/perl
2 use warnings;
3 use strict;
4 use Bot::BasicBot::Pluggable::Store::Storable;
5 use Bot::BasicBot::Pluggable::Store::DBI;
6  
7 my $from = Bot::BasicBot::Pluggable::Store::Storable->new;
8 my $to = Bot::BasicBot::Pluggable::Store::DBI->new(
9 dsn => "dbi:mysql:test",
10 table => "basicbot",
11 user => "root",
12 );
13  
14 $to->restore( $from->dump );