| 1 | 53 | ▶ | use strict; use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | package Lingy::StringBuilder; | ||
| 3 | |||
| 4 | 53 | ▶ | use Lingy::Common; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 53 | ▶ | use base 'Lingy::String'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | ▶ | sub append { |
|
Subroutine
append: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 8 | 1 | my ($self, $str) = @_; | |
| 9 | 1 | STRING->new("$self$str"); | |
| 10 | } | ||
| 11 | |||
| 12 | 1 | ▶ | sub reverse { |
|
Subroutine
reverse: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 13 | 1 | STRING->new(join '', reverse split '', "$_[0]"); | |
| 14 | } | ||
| 15 | |||
| 16 | 53 | 1; | |