« blib/lib/Bootylicious/PingbackIteratorFinder.pm
↑ Summary
blib/lib/Bootylicious/ArticleArchive.pm »
| 1 | package Bootylicious::Pingback; | ||||||||||
| 2 | |||||||||||
| 3 | 13 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 13 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 13 | ▶ | use base 'Mojo::Base'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 13 | __PACKAGE__->attr('created'); | |||||||||
| 9 | 13 | __PACKAGE__->attr('source_uri'); | |||||||||
| 10 | |||||||||||
| 11 | sub create { | ||||||||||
| 12 | 3 | ▶ | my $self = shift; | ||||||||
|
Subroutine
create: called CC=2 SCAR=7.0
Pod
undocumented
| |||||||||||
| 13 | 3 | my $path = shift; | |||||||||
| 14 | |||||||||||
| 15 | 3 | ▶ | open my $file, '>>:encoding(UTF-8)', $path or return; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Branch: 1 branch
| |||||||||||
| 16 | |||||||||||
| 17 | 3 | print $file $self->created->timestamp . ' ' . $self->source_uri . "\n"; | |||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | 13 | 1; | |||||||||