| 1 | package CGI::Lazy::Utility; | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 1 | ▶ | use CGI::Lazy::Globals; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use CGI::Lazy::Utility::Debug; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | #-------------------------------------------------------------- | ||
| 9 | 0 | ▶ | sub debug { |
|
Subroutine
debug: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 10 | 0 | my $self = shift; | |
| 11 | |||
| 12 | 0 | return CGI::Lazy::Utility::Debug->new($self->q); | |
| 13 | } | ||
| 14 | |||
| 15 | #-------------------------------------------------------------- | ||
| 16 | 0 | ▶ | sub q { |
|
Subroutine
q: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 17 | 0 | my $self = shift; | |
| 18 | |||
| 19 | 0 | return $self->{_q}; | |
| 20 | } | ||
| 21 | |||
| 22 | #-------------------------------------------------------------- | ||
| 23 | 1 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 24 | 1 | my $class = shift; | |
| 25 | 1 | my $q = shift; | |
| 26 | |||
| 27 | 1 | return bless {_q => $q}, $class; | |
| 28 | } | ||
| 29 | |||
| 30 | 1 | 1 | |
| 31 | |||
| 32 | __END__ | ||