blib/lib/Buzznet/Buzzword.pm untested

filter: Statementstmt 0.0% 0 / 29 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 7 Podpod 0.0% 0 / 3 totaltotal 0.0% 0 / 39 CC 1 SCAR 6.9
CC
1
Cov
0%
new
2.0
keyword
2.0
title
2.0
CRAP 2.0
1 package Buzznet::Buzzword;
2  
3 use strict;
4 use warnings;
5  
6 require Exporter;
7 use AutoLoader qw(AUTOLOAD);
8  
9 our @ISA = qw(Exporter);
10  
11 # Items to export into callers namespace by default. Note: do not export
12 # names by default without a very good reason. Use EXPORT_OK instead.
13 # Do not simply export all your public functions/methods/constants.
14  
15 # This allows declaration use Buzznet::Buzzword ':all';
16 # If you do not need this, moving things directly into @EXPORT or @EXPORT_OK
17 # will save memory.
18 our %EXPORT_TAGS = ( 'all' => [ qw(
19
20 ) ] );
21  
22 our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
23  
24 our @EXPORT = qw(
25
26 );
27  
28 our $VERSION = '0.01';
29  
30 #require XSLoader;
31 #XSLoader::load('Buzznet::Buzzword', $VERSION);
32  
33 # Preloaded methods go here.
34  
35 sub new
36 {
37 my ($package,@refs) = @_;
38 my $inst = {@refs};
39 $inst->{"error"} = undef;
40 return bless($inst,$package);
41 }
42  
43 sub keyword
44 {
45 my $self = shift;
46 return $self->{"keyword"};
47 }
48  
49 sub title
50 {
51 my $self = shift;
52 return $self->{"title"};
53 }
54  
55 # Autoload methods go after =cut, and are processed by the autosplit program.
56  
57 1;
58 __END__