File Coverage

blib/lib/Acme/SOAP/Dodger.pm
Criterion Covered Total %
statement 15 15 100.0
branch 2 2 100.0
condition n/a
subroutine 4 4 100.0
pod n/a
total 21 21 100.0


line stmt bran cond sub pod time code
1             package Acme::SOAP::Dodger;
2              
3             =head1 NAME
4              
5             Acme::SOAP::Dodger - be a hippy
6              
7             =head1 SYNOPSIS
8              
9             use Acme::SOAP::Dodger;
10              
11             =head1 DESCRIPTION
12              
13             I hate SOAP. You hate SOAP. So don't use SOAP.
14              
15             =head1 Why, dear God, why?
16              
17             I was having a discussion on why SOAP sucked. And it lent itself to amusing
18             jokes and japes. Oh, what witty people programmers are, eh? This was
19             constructed in a few minutes. No doubt there are cleverer ways of doing it. I
20             don't care. I am too busy being a hater.
21              
22             =cut
23              
24 1     1   1044 use strict;
  1         3  
  1         36  
25 1     1   5 use warnings;
  1         3  
  1         57  
26              
27             our $VERSION = 0.002;
28              
29 1     1   5 use Symbol qw/delete_package/;
  1         1  
  1         208  
30              
31             sub import {
32 1     1   39 for my $mod (keys %INC) {
33 81 100       229 do {
34 1         3 delete $INC{$mod};
35 1         5 $mod =~ s/\.pm$//; $mod =~ s/\//::/g;
  1         4  
36 1         5 delete_package($mod);
37             } if $mod =~ m/^SOAP/;
38             }
39             }
40              
41             =head1 AUTHOR
42              
43             Stray Taoist EFE
44              
45             Take out the Tellytubby if you particularly feel inclined to mail me.
46              
47             =head1 COPYRIGHT
48              
49             Copyright (c) 2007 StrayTaoist
50              
51             This module is free software; you can redistribute it or modify it
52             under the same terms as Perl itself.
53              
54             =head1 STUFF
55              
56             o things
57              
58             =head1 THINGS
59              
60             o stuff
61              
62             =cut
63              
64             return qw/Get a haircut son you look like a godamned girl/;