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