line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Perl::ToPerl6::Exception::Configuration; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
657
|
use 5.006001; |
|
1
|
|
|
|
|
3
|
|
4
|
1
|
|
|
1
|
|
4
|
use strict; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
18
|
|
5
|
1
|
|
|
1
|
|
4
|
use warnings; |
|
1
|
|
|
|
|
1
|
|
|
1
|
|
|
|
|
42
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
#----------------------------------------------------------------------------- |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
use Exception::Class ( |
10
|
1
|
|
|
|
|
13
|
'Perl::ToPerl6::Exception::Configuration' => { |
11
|
|
|
|
|
|
|
isa => 'Perl::ToPerl6::Exception', |
12
|
|
|
|
|
|
|
description => 'A problem with Perl::ToPerl6 configuration, whether from a file or a command line or some other source.', |
13
|
|
|
|
|
|
|
fields => [ qw{ source } ], |
14
|
|
|
|
|
|
|
}, |
15
|
1
|
|
|
1
|
|
4
|
); |
|
1
|
|
|
|
|
6
|
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
#----------------------------------------------------------------------------- |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
__END__ |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
#----------------------------------------------------------------------------- |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=pod |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
=for stopwords |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 NAME |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Perl::ToPerl6::Exception::Configuration - A problem with L<Perl::ToPerl6|Perl::ToPerl6> configuration. |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 DESCRIPTION |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
A representation of a problem found with the configuration of |
36
|
|
|
|
|
|
|
L<Perl::ToPerl6|Perl::ToPerl6>, whether from a F<.perlmogrifyrc>, another profile |
37
|
|
|
|
|
|
|
file, or command line. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
This is an abstract class. It should never be instantiated. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 INTERFACE SUPPORT |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This is considered to be a public class. Any changes to its interface |
45
|
|
|
|
|
|
|
will go through a deprecation cycle. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 METHODS |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=over |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=item C<source()> |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Where the configuration information came from, if it could be determined. |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
=back |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=head1 SEE ALSO |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
L<Perl::ToPerl6::Exception::Configuration::Generic|Perl::ToPerl6::Exception::Configuration::Generic> |
63
|
|
|
|
|
|
|
L<Perl::ToPerl6::Exception::Configuration::Option|Perl::ToPerl6::Exception::Configuration::Option> |
64
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
=head1 AUTHOR |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
Elliot Shank <perl@galumph.com> |
69
|
|
|
|
|
|
|
|
70
|
|
|
|
|
|
|
=head1 COPYRIGHT |
71
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
Copyright (c) 2007-2011 Elliot Shank. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify |
75
|
|
|
|
|
|
|
it under the same terms as Perl itself. The full text of this license |
76
|
|
|
|
|
|
|
can be found in the LICENSE file included with this module. |
77
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=cut |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
# Local Variables: |
81
|
|
|
|
|
|
|
# mode: cperl |
82
|
|
|
|
|
|
|
# cperl-indent-level: 4 |
83
|
|
|
|
|
|
|
# fill-column: 78 |
84
|
|
|
|
|
|
|
# indent-tabs-mode: nil |
85
|
|
|
|
|
|
|
# c-indentation-style: bsd |
86
|
|
|
|
|
|
|
# End: |
87
|
|
|
|
|
|
|
# ex: set ts=8 sts=4 sw=4 tw=78 ft=perl expandtab shiftround : |