Algorithm-CheckDigits

 view release on metacpan or  search on metacpan

t/plugina.t  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
 
use lib qw( t );
 
# Since the module PluginLibA reexports the function CheckDigits() from
# Algorithm::CheckDigits, we do not need to explicitly use that module to get
# the function into our name space.
 
 
# To get access to the algorithm provided by module PluginLibA, we have to use
# the keys stored in these publicly accessible variables.

t/pluginb-without.t  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
 
use lib qw( t );
 
 
# To get access to the algorithm provided by module PluginLibB, we have to use
# the keys stored in these publicly accessible variables.
 
my $cd1 = PluginLibB->new($PluginLibB::meth1);
my $cd2 = PluginLibB->new($PluginLibB::meth2);
my $cd3 = PluginLibB->new($PluginLibB::meth3);

t/pluginb.t  view on Meta::CPAN

1
2
3
4
5
6
7
8
9
10
11
12
13
 
use lib qw( t );
 
# Since PluginLibB does not inherit from Algorithm::CheckDigits we have to use
# Algorithm::CheckDigits here to make use of the function CheckDigits() to get
# our algorithm checker.
#
 
# To get access to the algorithm provided by module PluginLibB, we have to use
# the keys stored in these publicly accessible variables.



( run in 0.355 second using v1.01-cache-2.11-cpan-4e96b696675 )