| 1 | 1 | ▶ | use 5.020; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | package Acme::MyFirstModule::MALLEN; | ||
| 6 | |||
| 7 | # ABSTRACT: turns baubles into trinkets | ||
| 8 | |||
| 9 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 10 | 0 | my $class = shift; | |
| 11 | |||
| 12 | 0 | my $self = bless {}, $class; | |
| 13 | |||
| 14 | 0 | return $self; | |
| 15 | } | ||
| 16 | |||
| 17 | 0 | ▶ | sub ping { |
|
Subroutine
ping: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 18 | 0 | my $self = shift; | |
| 19 | |||
| 20 | 0 | say "You have to use perl 5.20 to run this."; | |
| 21 | |||
| 22 | 0 | 1; | |
| 23 | } | ||
| 24 | |||
| 25 | 1 | 'beer'; | |