| 1 | package TieOut; | ||
| 2 | |||
| 3 | 14 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 28 | ▶ | sub TIEHANDLE { |
|
Subroutine
TIEHANDLE: called CC=1 SCAR=0.0
| |||
| 6 | 28 | my $scalar = ''; | |
| 7 | 28 | bless( \$scalar, $_[0] ); | |
| 8 | } | ||
| 9 | |||
| 10 | 99 | ▶ | sub PRINT { |
|
Subroutine
PRINT: called CC=1 SCAR=0.0
| |||
| 11 | 99 | my $self = shift; | |
| 12 | 99 | $$self .= join( '', @_ ); | |
| 13 | } | ||
| 14 | |||
| 15 | 0 | ▶ | sub PRINTF { |
|
Subroutine
PRINTF: not called CC=1 SCAR=6.9
| |||
| 16 | 0 | my $self = shift; | |
| 17 | 0 | my $fmt = shift; | |
| 18 | 0 | $$self .= sprintf $fmt, @_; | |
| 19 | } | ||
| 20 | |||
| 21 | 0 | ▶ | sub FILENO { } |
|
Subroutine
FILENO: not called CC=1 SCAR=0.0
| |||
| 22 | |||
| 23 | 0 | ▶ | sub read { |
|
Subroutine
read: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 24 | 0 | my $self = shift; | |
| 25 | 0 | my $data = $$self; | |
| 26 | 0 | $$self = ''; | |
| 27 | 0 | return $data; | |
| 28 | } | ||
| 29 | |||
| 30 | 14 | 1; | |