Commit | Line | Data |
c53d2df2 |
1 | package Package::Stash::XS; |
2 | use strict; |
3 | use warnings; |
4 | # ABSTRACT: faster and more correct implementation of the Package::Stash API |
5 | |
6 | use XSLoader; |
7 | XSLoader::load( |
8 | __PACKAGE__, |
9 | # we need to be careful not to touch $VERSION at compile time, otherwise |
10 | # DynaLoader will assume it's set and check against it, which will cause |
11 | # fail when being run in the checkout without dzil having set the actual |
12 | # $VERSION |
13 | exists $Package::Stash::XS::{VERSION} |
14 | ? ${ $Package::Stash::XS::{VERSION} } : (), |
15 | ); |
16 | |
17 | =head1 SYNOPSIS |
18 | |
19 | use Package::Stash; |
20 | |
21 | =head1 DESCRIPTION |
22 | |
23 | This is a backend for L<Package::Stash>, which provides the functionality in a |
24 | way that's less buggy and much faster. It will be used by default if it's |
25 | installed, and should be preferred in all environments with a compiler. |
26 | |
6a47396a |
27 | =head1 BUGS |
c53d2df2 |
28 | |
6a47396a |
29 | No known bugs (but see the BUGS section in L<Package::Stash>). |
c53d2df2 |
30 | |
31 | Please report any bugs through RT: email |
32 | C<bug-package-stash-xs at rt.cpan.org>, or browse to |
33 | L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Package-Stash-XS>. |
34 | |
35 | =head1 SEE ALSO |
36 | |
37 | =over 4 |
38 | |
39 | =item * L<Class::MOP::Package> |
40 | |
41 | This module is a factoring out of code that used to live here |
42 | |
43 | =back |
44 | |
45 | =head1 SUPPORT |
46 | |
47 | You can find this documentation for this module with the perldoc command. |
48 | |
49 | perldoc Package::Stash::XS |
50 | |
51 | You can also look for information at: |
52 | |
53 | =over 4 |
54 | |
55 | =item * AnnoCPAN: Annotated CPAN documentation |
56 | |
57 | L<http://annocpan.org/dist/Package-Stash-XS> |
58 | |
59 | =item * CPAN Ratings |
60 | |
61 | L<http://cpanratings.perl.org/d/Package-Stash-XS> |
62 | |
63 | =item * RT: CPAN's request tracker |
64 | |
65 | L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Package-Stash-XS> |
66 | |
67 | =item * Search CPAN |
68 | |
69 | L<http://search.cpan.org/dist/Package-Stash-XS> |
70 | |
71 | =back |
72 | |
73 | =head1 AUTHOR |
74 | |
75 | Jesse Luehrs <doy at tozt dot net> |
76 | |
77 | Based on code from L<Class::MOP::Package>, by Stevan Little and the Moose |
78 | Cabal. |
79 | |
0cb52327 |
80 | =begin Pod::Coverage |
81 | |
82 | add_symbol |
83 | get_all_symbols |
84 | get_or_add_symbol |
85 | get_symbol |
86 | has_symbol |
87 | list_all_symbols |
88 | name |
89 | namespace |
90 | new |
91 | remove_glob |
92 | remove_symbol |
93 | |
94 | =end Pod::Coverage |
95 | |
c53d2df2 |
96 | =cut |
97 | |
98 | 1; |