| 1 | package Mojolicious::Plugin::UserMessages::Message; | ||||||||||
| 2 | { | ||||||||||
| 3 | 2 | $Mojolicious::Plugin::UserMessages::Message::VERSION = '0.511'; | |||||||||
| 4 | } | ||||||||||
| 5 | |||||||||||
| 6 | 2 | ▶ | use Carp; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 2 | our $AUTOLOAD; | |||||||||
| 10 | |||||||||||
| 11 | 3 | ▶ | sub new { | ||||||||
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 12 | 3 | my $class = shift; | |||||||||
| 13 | 3 | my %args = @_; | |||||||||
| 14 | |||||||||||
| 15 | 3 | return bless( \%args, $class); | |||||||||
| 16 | } | ||||||||||
| 17 | |||||||||||
| 18 | 9 | ▶ | sub AUTOLOAD { | ||||||||
|
Subroutine
AUTOLOAD: called CC=2 SCAR=6.9
| |||||||||||
| 19 | 9 | my $self = shift; | |||||||||
| 20 | |||||||||||
| 21 | 9 | my $method = $AUTOLOAD; | |||||||||
| 22 | 9 | $method =~ s/.*://; # strip fully-qualified portion | |||||||||
| 23 | |||||||||||
| 24 | 9 | ▶ | return if $method eq 'DESTROY'; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 25 | |||||||||||
| 26 | 6 | return $self->{$method}; | |||||||||
| 27 | } | ||||||||||
| 28 | |||||||||||
| 29 | 2 | 1; | |||||||||