Commits

Toby Inkster committed 4c473d4

documentation clarifications

Comments (0)

Files changed (2)

 
 =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.
 
 `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>;
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.