| 1 | package WWW::Tumblr::Test; | ||
| 2 | |||
| 3 | 15 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 15 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 15 | ▶ | use WWW::Tumblr; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 15 | my $t = WWW::Tumblr->new( | |
| 9 | # These are "public" keys for my small perlapi blog test. | ||
| 10 | # Don't be a jerk :) | ||
| 11 | consumer_key => 'm2TqZPKBN87VXTf0HZCDbLBmV8IKhjDnSh5SL2MrWYPrvDKIKE', | ||
| 12 | secret_key => 'DfNf21jsNPkDfz5rRW4tUPQf0gR1G8mYtxqBDM62XQSGHNJRY9', | ||
| 13 | token => '5koNK32cgylbsxs9LsTDCWFUrPccYjFCqFIbZayCFLrVlm1zuP', | ||
| 14 | token_secret => 'VbFLz3lZ3P2ghw5b4dHwNNw4IAq13uHgDp4reZy4N24b4VlfM8', | ||
| 15 | ); | ||
| 16 | |||
| 17 | 1 | ▶ | sub tumblr { $t } |
|
Subroutine
tumblr: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 18 | 6 | ▶ | sub user { $t->user } |
|
Subroutine
user: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 19 | 7 | ▶ | sub blog { $t->blog('perlapi.tumblr.com') } |
|
Subroutine
blog: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 20 | |||
| 21 | 15 | 1; | |