/usr/share/perl5/Getopt/Lucid/Exception.pm is in libgetopt-lucid-perl 1.08-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | use 5.006;
use strict;
use warnings;
package Getopt::Lucid::Exception;
# ABSTRACT: Exception classes for Getopt::Lucid
our $VERSION = '1.08';
use Exporter;
our @ISA = qw/Exporter Exception::Class::Base/;
our @EXPORT = qw( throw_spec throw_argv throw_usage);
use Exception::Class 1.23 (
"Getopt::Lucid::Exception" => {
description => "Unidentified exception",
},
"Getopt::Lucid::Exception::Spec" => {
description => "Invalid specification",
},
"Getopt::Lucid::Exception::ARGV" => {
description => "Invalid argument on command line",
},
"Getopt::Lucid::Exception::Usage" => {
description => "Invalid usage",
},
);
my %throwers = (
throw_spec => "Getopt::Lucid::Exception::Spec",
throw_argv => "Getopt::Lucid::Exception::ARGV",
throw_usage => "Getopt::Lucid::Exception::Usage",
);
for my $t ( keys %throwers ) {
no strict 'refs';
*{$t} = sub { $throwers{$t}->throw("$_[0]\n") };
}
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Getopt::Lucid::Exception - Exception classes for Getopt::Lucid
=head1 VERSION
version 1.08
=for Pod::Coverage description
throw_argv
throw_spec
throw_usage
=head1 AUTHOR
David Golden <dagolden@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is Copyright (c) 2017 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
=cut
|