Wiki-Toolkit-Store-Mediawiki
view release on metacpan or search on metacpan
lib/Wiki/Toolkit/Store/Mediawiki.pm view on Meta::CPAN
### Globals
###
our $timestamp_fmt = "%Y%m%d%H%M%S";
# Internal method to return the data source string required by DBI.
sub _dsn {
my ($self, $dbname, $dbhost) = @_;
my $dsn = "dbi:mysql:$dbname";
$dsn .= ";mysql_enable_utf8=1" if $self->{_charset}=~/^utf-?8$/i;
$dsn .= ";host=$dbhost" if $dbhost;
return $dsn;
}
=head1 METHODS
=head2 check_and_write_node
( run in 0.262 second using v1.01-cache-2.11-cpan-00829025b61 )