| 1 | #!perl | ||
| 2 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use String::Koremutake; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | my $k = String::Koremutake->new; | |
| 7 | 1 | my %hash = ('a' => 1); | |
| 8 | |||
| 9 | 1 | show(); | |
| 10 | 1 | show(1, undef, 2); | |
| 11 | 1 | show(123); | |
| 12 | 1 | show(-0.3); | |
| 13 | 1 | show('a'); | |
| 14 | 1 | show('orange o rama'); | |
| 15 | 1 | show([]); | |
| 16 | 1 | show({}); | |
| 17 | 1 | show($k); | |
| 18 | |||
| 19 | 9 | ▶ | sub show { |
|
Subroutine
show: called CC=1 SCAR=0.0
| |||
| 20 | 9 | my($first, @rest) = @_; | |
| 21 | 9 | print $first, @rest, "\n"; | |
| 22 | 9 | my $n = 1; | |
| 23 | } | ||