| 1 | # -*- Mode: cperl; coding: utf-8; cperl-indent-level: 4 -*- | ||
| 2 | # vim: ts=4 sts=4 sw=4: | ||
| 3 | package CPAN::Exception::yaml_not_installed; | ||
| 4 | 26 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 26 | ▶ | use overload '""' => "as_string"; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 26 | ▶ | use vars qw( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | $VERSION | ||
| 9 | 26 | ); | |
| 10 | 26 | $VERSION = "5.5"; | |
| 11 | |||
| 12 | |||
| 13 | 0 | ▶ | sub new { |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 14 | 0 | ▶ | my($class,$module,$file,$during) = @_; |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 15 | 0 | bless { module => $module, file => $file, during => $during }, $class; | |
| 16 | } | ||
| 17 | |||
| 18 | 0 | ▶ | sub as_string { |
|
Subroutine
as_string: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 19 | 0 | ▶ | my($self) = shift; |
|
Subroutine
as_string: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 20 | 0 | "'$self->{module}' not installed, cannot $self->{during} '$self->{file}'\n"; | |
| 21 | } | ||
| 22 | |||
| 23 | 26 | 1; | |