blob: 39541123c8898cab7d8799dfd6b2013b7c2850ac (
plain) (
blame)
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
|
package Package::Stash::XS;
use strict;
use warnings;
# ABSTRACT: faster and more correct implementation of the Package::Stash API
use XSLoader;
XSLoader::load(
__PACKAGE__,
# we need to be careful not to touch $VERSION at compile time, otherwise
# DynaLoader will assume it's set and check against it, which will cause
# fail when being run in the checkout without dzil having set the actual
# $VERSION
exists $Package::Stash::XS::{VERSION}
? ${ $Package::Stash::XS::{VERSION} } : (),
);
=head1 SYNOPSIS
use Package::Stash;
=head1 DESCRIPTION
This is a backend for L<Package::Stash>, which provides the functionality in a
way that's less buggy and much faster. It will be used by default if it's
installed, and should be preferred in all environments with a compiler.
=head1 BUGS / CAVEATS
=over 4
=item * Prior to perl 5.10, scalar slots are only considered to exist if they are defined
This is due to a shortcoming within perl itself. See
L<perlref/Making References> point 7 for more information.
=back
Please report any bugs through RT: email
C<bug-package-stash-xs at rt.cpan.org>, or browse to
L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Package-Stash-XS>.
=head1 SEE ALSO
=over 4
=item * L<Class::MOP::Package>
This module is a factoring out of code that used to live here
=back
=head1 SUPPORT
You can find this documentation for this module with the perldoc command.
perldoc Package::Stash::XS
You can also look for information at:
=over 4
=item * AnnoCPAN: Annotated CPAN documentation
L<http://annocpan.org/dist/Package-Stash-XS>
=item * CPAN Ratings
L<http://cpanratings.perl.org/d/Package-Stash-XS>
=item * RT: CPAN's request tracker
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Package-Stash-XS>
=item * Search CPAN
L<http://search.cpan.org/dist/Package-Stash-XS>
=back
=head1 AUTHOR
Jesse Luehrs <doy at tozt dot net>
Based on code from L<Class::MOP::Package>, by Stevan Little and the Moose
Cabal.
=begin Pod::Coverage
add_symbol
get_all_symbols
get_or_add_symbol
get_symbol
has_symbol
list_all_symbols
name
namespace
new
remove_glob
remove_symbol
=end Pod::Coverage
=cut
1;
|