DOKK / manpages / debian 11 / simba / RoPkg::Simba::Excludes.3pm.en
RoPkg::Simba::Excludes(3pm) User Contributed Perl Documentation RoPkg::Simba::Excludes(3pm)

RoPkg::Simba::Excludes

0.2.2

RoPkg::Simba::Excludes is a class used to count and get the excludes from the database.

 !#/usr/bin/perl
 
 use RoPkg::DB;
 use RoPkg::Simba::Excludes;
 
 sub main {
   my $dbp = new RoPkg::DB();
   $dbp->Add('dbi:mysql:database=mysql;host=localhost',
             'root',
             '',
             'local');
   my $m = new RoPkg::Simba::Excludes(dbo => $dbp, dbo_method => 'db_local');
   print $m->Count,' excludes found in database',$/;
 }
 
 main();

new()

The class constructor. At this moment, it just calls RoPkg::DBObject->new() . Please read the RoPkg::DBObject manual page for more information about the new() parameters.

Returns the number of excludes from database. The $fields parameter contains a list of WHERE clauses. For more details of $fields see SQL::Abstract.

Returns a array of RoPkg::Simba::exclude list objects. The excludes are read from the database. The $fields parameter contains a list of WHERE clauses. For more details of $fields see SQL::Abstract. $orderby is a reference to a array holding the fields specification used for sorting the data.

Unpack the source, and use 'make test' command

This module does not use any configuration files or environment variables.

RoPkg::DBCollection and RoPkg::Exceptions

None known to the author

None known to the author

This module is perl critic level 2 compliant

RoPkg::Simba RoPkg::Simba::Exclude SQL::Abstract

Subredu Manuel <diablo@iasi.roedu.net>

Copyright (C) 2005 Subredu Manuel. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license.

2018-12-09 perl v5.28.1