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
68       <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Carp-Clan-Share>.  I
69       will be notified, and then you'll automatically be notified of progress
70       on your bug as I make changes.
71

SUPPORT

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

ACKNOWLEDGEMENTS

101       Copyright 2008 Robert Krimen
102
103       This program is free software; you can redistribute it and/or modify it
104       under the same terms as Perl itself.
105
106
107
108perl v5.12.0                      2009-05-13              Carp::Clan::Share(3)
Impressum