BuzzSaw
view release on metacpan - search on metacpan
view release on metacpan or search on metacpan
docs/database.html view on Meta::CPAN
my $db = BuzzSaw::DB->new( name => 'logdb',
user => 'fred',
pass => 'letmein' );
my $schema = $db->schema;
my @events = $schema->resultset('Event')->search( { hostname => 'foo' } );
</pre>
<p>More typically you will not want to specify the user
credentials in the script itself so the better approach is to use
a configuration file. That can be done like this:</p>
<pre>
use BuzzSaw::DB;
my $db = BuzzSaw::DB->new_with_config();
my $schema = $db->schema;
</pre>
view all matches for this distributionview release on metacpan - search on metacpan
( run in 1.114 second using v1.00-cache-2.02-grep-82fe00e-cpan-2c419f77a38b )