Permalink
Browse files

Add docs

  • Loading branch information...
1 parent 9c68638 commit a16860cf3b17decf5be9411dffc8036295c5ba68 @nperez committed Jun 21, 2012
Showing with 26 additions and 0 deletions.
  1. +26 −0 lib/CloudPAN.pm
View
@@ -1,4 +1,7 @@
package CloudPAN;
+
+#ABSTRACT: Never install pure Perl modules again
+
use warnings;
use strict;
@@ -37,3 +40,26 @@ BEGIN {
}
1;
+__END__
+=head1 SYNOPSIS
+
+ use CloudPAN;
+
+ {
+ package Foo;
+ use Moo;
+
+ has bar => (is => 'rw');
+
+ sub baz { $_[0]->bar }
+ }
+ print Foo->new(bar => 3)->baz . "\n";
+
+ # 3
+
+=head1 DESCRIPTION
+Ever wanted to load modules from the "cloud"? Love the concept of MetaCPAN and
+want to exercise it? Then this module is for you. Simply use this module before
+using any other module that doesn't require compilation and you're set. Note
+that this doesn't work on all modules (especially ones that mess around with
+@INC too).

0 comments on commit a16860c

Please sign in to comment.