| 1 | 4 | ▶ | use 5.16.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 4 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | package Games::Nintendo::Mario::SMB 0.208; | ||
| 4 | |||
| 5 | 4 | ▶ | use base qw(Games::Nintendo::Mario); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 16 | ▶ | sub _names { qw[Mario Luigi] } |
|
Subroutine
_names: called CC=1 SCAR=0.0
| |||
| 8 | 16 | ▶ | sub _states { qw[normal super fire] } |
|
Subroutine
_states: called CC=1 SCAR=0.0
| |||
| 9 | 7 | ▶ | sub _items { qw[mushroom flower] } |
|
Subroutine
_items: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | sub _goto_hash { | ||
| 12 | { | ||
| 13 | 16 | ▶ | damage => { |
|
Subroutine
_goto_hash: called CC=1 SCAR=0.0
| |||
| 14 | normal => 'dead', | ||
| 15 | _else => 'normal' | ||
| 16 | }, | ||
| 17 | mushroom => { | ||
| 18 | fire => 'fire', | ||
| 19 | _else => 'super', | ||
| 20 | }, | ||
| 21 | flower => { | ||
| 22 | normal => 'super', | ||
| 23 | _else => 'fire' | ||
| 24 | } | ||
| 25 | } | ||
| 26 | } | ||
| 27 | |||
| 28 | sub games { | ||
| 29 | 0 | ▶ | return ('Super Mario Bros.'); |
|
Subroutine
games: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 30 | } | ||
| 31 | |||
| 32 | 4 | "It's-a me! Mario!"; | |
| 33 | |||
| 34 | __END__ | ||