| 1 | package Net::Payjp::Object; | ||
| 2 | |||
| 3 | 11 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 11 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | sub new{ | ||
| 7 | 64 | ▶ | my $self = shift; |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 8 | 64 | my %p = @_; | |
| 9 | |||
| 10 | 64 | bless{%p}, $self; | |
| 11 | } | ||
| 12 | |||
| 13 | 11 | our $AUTOLOAD; | |
| 14 | sub AUTOLOAD { | ||
| 15 | 179 | ▶ | my $self = shift; |
|
Subroutine
AUTOLOAD: called CC=1 SCAR=0.0
| |||
| 16 | |||
| 17 | 179 | my ($key) = $AUTOLOAD =~ /([^:]*$)/; | |
| 18 | 179 | return $self->{$key}; | |
| 19 | } | ||
| 20 | |||
| 21 | |||
| 22 | 11 | 1; | |