1Carp::Clan::Share(3)  User Contributed Perl Documentation Carp::Clan::Share(3)
2
3
4

NAME

6       Carp::Clan::Share - Share your Carp::Clan settings with your whole Clan
7

VERSION

9       Version 0.013
10

SYNOPSIS

12           package My::Namespace
13
14           use Carp::Clan::Share; # My::Namespace::Carp now exists
15
16           ...
17
18           package My::Namespace::Module
19
20           use My::Namespace::Carp; # Acts like "use Carp::Clan qw/^My::Namespace::/;"
21
22           ...
23
24           package My::Other::Namespace;
25
26           # You can also pass options through to Carp::Clan
27           use Carp::Clan::Share qw/verbose/; # My::Other::Namespace::Carp now exists
28
29           ...
30
31           package My::Other::Namespace::Module
32
33           use My::Other::Namespace::Carp; # Acts like "use Carp::Clan qw/^My::Other::Namespace:: verbose/;"
34
35           ...
36

DESCRIPTION

38       This is a very lightweight helper module (actually just an import
39       method) that will automagically create a __PACKAGE__::Carp module for
40       you.
41
42       Any arguments passed to the import (e.g. via use) method are forwarded
43       along to Carp::Clan.
44
45       NOTE: If you use this from a package ending with ::Carp, then it will
46       use the parent of of that package as the target namespace
47
48           package My::Namespace::Carp;
49
50           use Carp::Clan::Share;
51
52           package My::Namespace::Module
53
54           use My::Namespace::Carp; # Acts like "use Carp::Clan qw/^My::Namespace::/;"
55

SEE ALSO

57       Carp::Clan
58
59       Carp
60

AUTHOR

62       Robert Krimen, "<rkrimen at cpan.org>"
63

BUGS

65       Please report any bugs or feature requests to "bug-carp-clan-share at
66       rt.cpan.org", or through the web interface at
67       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Carp-Clan-Share>.  I
68       will be notified, and then you'll automatically be notified of progress
69       on your bug as I make changes.
70

SUPPORT

72       You can find documentation for this module with the perldoc command.
73
74           perldoc Carp::Clan::Share
75
76       You can also look for information at:
77
78       •   RT: CPAN's request tracker
79
80           <http://rt.cpan.org/NoAuth/Bugs.html?Dist=Carp-Clan-Share>
81
82       •   AnnoCPAN: Annotated CPAN documentation
83
84           <http://annocpan.org/dist/Carp-Clan-Share>
85
86       •   CPAN Ratings
87
88           <http://cpanratings.perl.org/d/Carp-Clan-Share>
89
90       •   Search CPAN
91
92           <http://search.cpan.org/dist/Carp-Clan-Share>
93

ACKNOWLEDGEMENTS

96       Copyright 2008 Robert Krimen
97
98       This program is free software; you can redistribute it and/or modify it
99       under the same terms as Perl itself.
100
101
102
103perl v5.36.0                      2023-01-20              Carp::Clan::Share(3)
Impressum