| 1 | package WWW::Connpass; | ||
| 2 | 1 | ▶ | use 5.012000; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 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 | |||
| 6 | 1 | our $VERSION = "0.03"; | |
| 7 | |||
| 8 | 1 | ▶ | use WWW::Connpass::Session; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | sub new { | ||
| 11 | 0 | ▶ | my $class = shift; |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 12 | |||
| 13 | 0 | my $user_agent = "$class/".$class->VERSION; | |
| 14 | 0 | return bless { | |
| 15 | user_agent => $user_agent, | ||
| 16 | interval => 1, | ||
| 17 | @_, | ||
| 18 | } => $class; | ||
| 19 | } | ||
| 20 | |||
| 21 | sub login { | ||
| 22 | 0 | ▶ | my ($self, $user, $pass) = @_; |
|
Subroutine
login: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 23 | 0 | return WWW::Connpass::Session->new($user, $pass, $self); | |
| 24 | } | ||
| 25 | |||
| 26 | 1 | 1; | |
| 27 | __END__ | ||