| 1 | package Net::Payjp::Object; | ||
| 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 | 76 | ▶ | sub new{ |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 7 | 76 | my $self = shift; | |
| 8 | 76 | my %p = @_; | |
| 9 | |||
| 10 | 76 | bless{%p}, $self; | |
| 11 | } | ||
| 12 | |||
| 13 | 15 | our $AUTOLOAD; | |
| 14 | 214 | ▶ | sub AUTOLOAD { |
|
Subroutine
AUTOLOAD: called CC=1 SCAR=0.0
| |||
| 15 | 214 | my $self = shift; | |
| 16 | |||
| 17 | 214 | my ($key) = $AUTOLOAD =~ /([^:]*$)/; | |
| 18 | 214 | return $self->{$key}; | |
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | 15 | 1; | |