TileMap/_Utils.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.4% 17 / 18 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« TileMap/Legend.pm ↑ Summary TileMap/Role/Helpers.pm »
1 package Game::TileMap::_Utils;
2 2 $Game::TileMap::_Utils::VERSION = '0.002';
3 2 ▶use v5.10;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 sub trim
8 {
9 20 ▶ my $str = shift;
Subroutine trim: called CC=1 SCAR=0.0
Pod undocumented
10 20 $str =~ s/\A \s+ | \s+ \z//gx;
11 20 return $str;
12 }
13  
14 2 1;
15  
« TileMap/Legend.pm ↑ Summary TileMap/Role/Helpers.pm »