| 1 | package App::Twirc::Plugin::BangCommands; | ||||||||||
| 2 | 1 | $App::Twirc::Plugin::BangCommands::VERSION = '0.20'; | |||||||||
| 3 | 1 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 1 | ▶ | sub new { bless {}, shift } | ||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 7 | |||||||||||
| 8 | 3 | ▶ | sub preprocess { | ||||||||
|
Subroutine
preprocess: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 9 | 3 | my (undef,undef,undef,undef, $textref) = @_; | |||||||||
| 10 | |||||||||||
| 11 | 3 | ▶ | unless ( $$textref =~ s/^!\s*// ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 12 | 1 | $$textref = "post $$textref"; | |||||||||
| 13 | } | ||||||||||
| 14 | 3 | return; | |||||||||
| 15 | } | ||||||||||
| 16 | |||||||||||
| 17 | 1 | 1; | |||||||||
| 18 | |||||||||||
| 19 | __END__ | ||||||||||