X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FPackage%2FStash.pm;fp=lib%2FStash%2FManip.pm;h=84a4d0b0a61d64ad03a15694f843820fb4ff6101;hb=e94260dab724974551751dbdda9c4c9abde76e6e;hp=cad37420a44a64ff0c9c7a1e2aca4a690163bee2;hpb=4950f5513d1552328128c0a90824ab9074995cd8;p=gitmo%2FPackage-Stash-PP.git diff --git a/lib/Stash/Manip.pm b/lib/Package/Stash.pm similarity index 94% rename from lib/Stash/Manip.pm rename to lib/Package/Stash.pm index cad3742..84a4d0b 100644 --- a/lib/Stash/Manip.pm +++ b/lib/Package/Stash.pm @@ -1,4 +1,4 @@ -package Stash::Manip; +package Package::Stash; use strict; use warnings; @@ -7,11 +7,11 @@ use Scalar::Util qw(reftype); =head1 NAME -Stash::Manip - routines for manipulating stashes +Package::Stash - routines for manipulating stashes =head1 SYNOPSIS - my $stash = Stash::Manip->new('Foo'); + my $stash = Package::Stash->new('Foo'); $stash->add_package_symbol('%foo', {bar => 1}); # $Foo::foo{bar} == 1 $stash->has_package_symbol('$foo') # false @@ -33,7 +33,7 @@ a sigil. If this sigil is absent, it is assumed to represent the IO slot. =head2 new $package_name -Creates a new C object, for the package given as the only +Creates a new C object, for the package given as the only argument. =cut @@ -104,7 +104,7 @@ Adds a new package symbol, for the symbol given as C<$variable>, and optionally gives it an initial value of C<$value>. C<$variable> should be the name of variable including the sigil, so - Stash::Manip->new('Foo')->add_package_symbol('%foo') + Package::Stash->new('Foo')->add_package_symbol('%foo') will create C<%Foo::foo>. @@ -345,8 +345,8 @@ sub list_all_package_symbols { No known bugs. Please report any bugs through RT: email -C, or browse to -L. +C, or browse to +L. =head1 SEE ALSO @@ -357,7 +357,7 @@ live here You can find this documentation for this module with the perldoc command. - perldoc Stash::Manip + perldoc Package::Stash You can also look for information at: @@ -365,19 +365,19 @@ You can also look for information at: =item * AnnoCPAN: Annotated CPAN documentation -L +L =item * CPAN Ratings -L +L =item * RT: CPAN's request tracker -L +L =item * Search CPAN -L +L =back