Commits

Toby Inkster  committed 4c473d4

documentation clarifications

  • Participants
  • Parent commits d4f4fb1

Comments (0)

Files changed (2)

File lib/thanks.pm

 
 =head1 NAME
 
-thanks - no thanks, I don't want that module
+thanks - inline packages easily
 
 =head1 SYNOPSIS
 
 	                  # file "My/Package.pm".
 	                  #
 
+Or:
+
+	BEGIN {
+		package My::Package;
+		# everything else goes here
+	};
+	
+	no thanks qw( My::Package Another::Package Yet::Another::Package );
+	
+	use My::Package;  # No error message about missing
+	                  # file "My/Package.pm".
+	                  #
+
 =head1 ELEVATOR PITCH
 
 Defining multiple Perl packages in the same file can be fraught with
 
 =head1 COPYRIGHT AND LICENCE
 
-This software is copyright (c) 2012 by Toby Inkster.
+This software is copyright (c) 2012-2013 by Toby Inkster.
 
 This is free software; you can redistribute it and/or modify it under
 the same terms as the Perl 5 programming language system itself.

File meta/doap.pret

 
 `thanks`
 	:programming-language "Perl" ;
-	:shortdesc            "no thanks, I don't want that module";
+	:shortdesc            "inline packages easily";
 	:homepage             <https://metacpan.org/release/thanks>;
 	:download-page        <https://metacpan.org/release/thanks>;
 	:bug-database         <http://rt.cpan.org/Dist/Display.html?Queue=thanks>;