File Coverage

blib/lib/Wikiversity/Hello.pm
Criterion Covered Total %
statement 6 7 85.7
branch n/a
condition n/a
subroutine 2 3 66.6
pod 0 1 0.0
total 8 11 72.7


line stmt bran cond sub pod time code
1             package Wikiversity::Hello;
2             # Wikiversity::Hello - introductory module in Wikiversity Perl training
3             #
4             # Copyright (C) 2007 by Ian Kluft http://ian.kluft.com/
5             #
6             # This library is free software; you can redistribute it and/or modify
7             # it under the same terms as Perl itself, either Perl version 5.8.8 or,
8             # at your option, any later version of Perl 5 you may have available.
9              
10 1     1   24406 use strict;
  1         2  
  1         38  
11 1     1   5 use warnings;
  1         1  
  1         171  
12              
13             require Exporter;
14              
15             our @ISA = qw(Exporter);
16              
17             # export controls
18             our %EXPORT_TAGS = ( 'all' => [ qw( ) ] );
19             our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
20             our @EXPORT = qw( go );
21              
22             # version number used by module-building modules
23             our $VERSION = '0.01';
24              
25             # congratulate the user for successfully installing and running the module
26             sub hurrah
27             {
28 0     0 0   print "Congratulations! You have successfully installed and ran "
29             .__PACKAGE__."!\n";
30             };
31              
32             1;
33             __END__