| 1 | 1 | ▶ | use strict; | ||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||
| 2 | 1 | ▶ | use warnings; | ||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||
| 3 | |||||||||||||||||||||||
| 4 | # ABSTRACT: add some text to the title of an RSS item | ||||||||||||||||||||||
| 5 | |||||||||||||||||||||||
| 6 | |||||||||||||||||||||||
| 7 | package App::Rssfilter::Filter::MarkTitle; | ||||||||||||||||||||||
| 8 | { | ||||||||||||||||||||||
| 9 | 1 | $App::Rssfilter::Filter::MarkTitle::VERSION = '0.07'; | |||||||||||||||||||||
| 10 | } | ||||||||||||||||||||||
| 11 | |||||||||||||||||||||||
| 12 | 1 | ▶ | use Method::Signatures; | ||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||||
| 13 | |||||||||||||||||||||||
| 14 | |||||||||||||||||||||||
| 15 | 1 | ▶ | func filter ( $item, $matcher, $explicit_prefix = $matcher ) { | ||||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
filter: called CC=5 SCAR=16.1
Branch: 4 branches
| |||||||||||||||||||||||
| 16 | 1 | $item->title->replace_content(uc($explicit_prefix) ." - ".$item->title->content_xml); | |||||||||||||||||||||
| 17 | } | ||||||||||||||||||||||
| 18 | 1 | 1; | |||||||||||||||||||||
| 19 | |||||||||||||||||||||||
| 20 | __END__ | ||||||||||||||||||||||