| 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 | |||