| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package Acme::BEWUETHR::Utils; | 
| 2 |  |  |  |  |  |  |  | 
| 3 | 2 |  |  | 2 |  | 35066 | use 5.006; | 
|  | 2 |  |  |  |  | 6 |  | 
|  | 2 |  |  |  |  | 75 |  | 
| 4 | 2 |  |  | 2 |  | 9 | use strict; | 
|  | 2 |  |  |  |  | 6 |  | 
|  | 2 |  |  |  |  | 62 |  | 
| 5 | 2 |  |  | 2 |  | 16 | use warnings; | 
|  | 2 |  |  |  |  | 9 |  | 
|  | 2 |  |  |  |  | 63 |  | 
| 6 |  |  |  |  |  |  |  | 
| 7 | 2 |  |  | 2 |  | 7 | use Exporter qw(import); | 
|  | 2 |  |  |  |  | 2 |  | 
|  | 2 |  |  |  |  | 196 |  | 
| 8 |  |  |  |  |  |  |  | 
| 9 |  |  |  |  |  |  | our @EXPORT = qw(sum); | 
| 10 |  |  |  |  |  |  |  | 
| 11 |  |  |  |  |  |  | =head1 NAME | 
| 12 |  |  |  |  |  |  |  | 
| 13 |  |  |  |  |  |  | Acme::BEWUETHR::Utils - Test module to see PAUSE functionality | 
| 14 |  |  |  |  |  |  |  | 
| 15 |  |  |  |  |  |  | =head1 VERSION | 
| 16 |  |  |  |  |  |  |  | 
| 17 |  |  |  |  |  |  | Version 0.02 | 
| 18 |  |  |  |  |  |  |  | 
| 19 |  |  |  |  |  |  | =cut | 
| 20 |  |  |  |  |  |  |  | 
| 21 |  |  |  |  |  |  | our $VERSION = '0.02'; | 
| 22 |  |  |  |  |  |  |  | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | =head1 SYNOPSIS | 
| 25 |  |  |  |  |  |  |  | 
| 26 |  |  |  |  |  |  | This module doesn't really do anything. It does have one function, though! | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | =head1 DESCRIPTION | 
| 29 |  |  |  |  |  |  |  | 
| 30 |  |  |  |  |  |  | =head2 sum | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  | Returns the sum of the numbers provided as argument. | 
| 33 |  |  |  |  |  |  |  | 
| 34 |  |  |  |  |  |  | =cut | 
| 35 |  |  |  |  |  |  |  | 
| 36 |  |  |  |  |  |  | sub sum { | 
| 37 | 4 |  |  | 4 | 1 | 424 | my $sum; | 
| 38 | 4 |  |  |  |  | 7 | foreach my $elem (@_) { | 
| 39 | 12 |  |  |  |  | 15 | $sum += $elem; | 
| 40 |  |  |  |  |  |  | } | 
| 41 | 4 |  |  |  |  | 12 | $sum; | 
| 42 |  |  |  |  |  |  | } | 
| 43 |  |  |  |  |  |  |  | 
| 44 |  |  |  |  |  |  | =head1 AUTHOR | 
| 45 |  |  |  |  |  |  |  | 
| 46 |  |  |  |  |  |  | Benjamin Wuthrich, C<<  >> | 
| 47 |  |  |  |  |  |  |  | 
| 48 |  |  |  |  |  |  | =head1 LICENSE AND COPYRIGHT | 
| 49 |  |  |  |  |  |  |  | 
| 50 |  |  |  |  |  |  | Copyright 2015 Benjamin Wuthrich. | 
| 51 |  |  |  |  |  |  |  | 
| 52 |  |  |  |  |  |  | This program is free software; you can redistribute it and/or modify it | 
| 53 |  |  |  |  |  |  | under the terms of the the Artistic License (2.0). You may obtain a | 
| 54 |  |  |  |  |  |  | copy of the full license at: | 
| 55 |  |  |  |  |  |  |  | 
| 56 |  |  |  |  |  |  | L | 
| 57 |  |  |  |  |  |  |  | 
| 58 |  |  |  |  |  |  | Any use, modification, and distribution of the Standard or Modified | 
| 59 |  |  |  |  |  |  | Versions is governed by this Artistic License. By using, modifying or | 
| 60 |  |  |  |  |  |  | distributing the Package, you accept this license. Do not use, modify, | 
| 61 |  |  |  |  |  |  | or distribute the Package, if you do not accept this license. | 
| 62 |  |  |  |  |  |  |  | 
| 63 |  |  |  |  |  |  | If your Modified Version has been derived from a Modified Version made | 
| 64 |  |  |  |  |  |  | by someone other than you, you are nevertheless required to ensure that | 
| 65 |  |  |  |  |  |  | your Modified Version complies with the requirements of this license. | 
| 66 |  |  |  |  |  |  |  | 
| 67 |  |  |  |  |  |  | This license does not grant you the right to use any trademark, service | 
| 68 |  |  |  |  |  |  | mark, tradename, or logo of the Copyright Holder. | 
| 69 |  |  |  |  |  |  |  | 
| 70 |  |  |  |  |  |  | This license includes the non-exclusive, worldwide, free-of-charge | 
| 71 |  |  |  |  |  |  | patent license to make, have made, use, offer to sell, sell, import and | 
| 72 |  |  |  |  |  |  | otherwise transfer the Package with respect to any patent claims | 
| 73 |  |  |  |  |  |  | licensable by the Copyright Holder that are necessarily infringed by the | 
| 74 |  |  |  |  |  |  | Package. If you institute patent litigation (including a cross-claim or | 
| 75 |  |  |  |  |  |  | counterclaim) against any party alleging that the Package constitutes | 
| 76 |  |  |  |  |  |  | direct or contributory patent infringement, then this Artistic License | 
| 77 |  |  |  |  |  |  | to you shall terminate on the date that such litigation is filed. | 
| 78 |  |  |  |  |  |  |  | 
| 79 |  |  |  |  |  |  | Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER | 
| 80 |  |  |  |  |  |  | AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. | 
| 81 |  |  |  |  |  |  | THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | 
| 82 |  |  |  |  |  |  | PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY | 
| 83 |  |  |  |  |  |  | YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR | 
| 84 |  |  |  |  |  |  | CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR | 
| 85 |  |  |  |  |  |  | CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, | 
| 86 |  |  |  |  |  |  | EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 
| 87 |  |  |  |  |  |  |  | 
| 88 |  |  |  |  |  |  | =cut | 
| 89 |  |  |  |  |  |  |  | 
| 90 |  |  |  |  |  |  | 1; # End of Acme::BEWUETHR::Utils |