| 1 | package ColorThemeBase::Base; | ||||||||||
| 2 | |||||||||||
| 3 | 7 | ▶ | use strict 'subs', 'vars'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | #use warnings; | ||||||||||
| 5 | 7 | ▶ | use parent 'ColorThemeBase::Constructor'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 7 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |||||||||
| 8 | 7 | our $DATE = '2024-07-17'; # DATE | |||||||||
| 9 | 7 | our $DIST = 'ColorThemeBase-Static'; # DIST | |||||||||
| 10 | 7 | our $VERSION = '0.009'; # VERSION | |||||||||
| 11 | |||||||||||
| 12 | 1 | ▶ | sub get_struct { | ||||||||
|
Subroutine
get_struct: called CC=2 SCAR=7.9
Pod
undocumented
| |||||||||||
| 13 | 1 | my $self_or_class = shift; | |||||||||
| 14 | 1 | ▶ | if (ref $self_or_class) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | 1 | \%{"$self_or_class->{orig_class}::THEME"}; | |||||||||
| 16 | } else { | ||||||||||
| 17 | 0 | \%{"$self_or_class\::THEME"}; | |||||||||
| 18 | } | ||||||||||
| 19 | } | ||||||||||
| 20 | |||||||||||
| 21 | 1 | ▶ | sub get_args { | ||||||||
|
Subroutine
get_args: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 22 | 1 | my $self = shift; | |||||||||
| 23 | 1 | $self->{args}; | |||||||||
| 24 | } | ||||||||||
| 25 | |||||||||||
| 26 | 7 | 1; | |||||||||
| 27 | # ABSTRACT: A suitable base class for all ColorTheme::* modules | ||||||||||
| 28 | |||||||||||
| 29 | __END__ | ||||||||||