Permalink
Browse files

make github happy

  • Loading branch information...
1 parent c72c488 commit 14833eccec08df80c8381ac77967a9cc3aaf981c @dams committed Sep 15, 2011
Showing with 60 additions and 0 deletions.
  1. +60 −0 README.pod
View
@@ -0,0 +1,60 @@
+=pod
+
+=head1 NAME
+
+o - syntactic sugar to make Mo one-liners easier
+
+=head1 VERSION
+
+version 0.100
+
+=head1 SYNOPSIS
+
+ # create a Mo class on the fly ...
+ perl -Mo=Foo -e 'has bar => ( default => sub { q[baz] } ); print Foo->new->bar' # prints baz
+
+=head1 DESCRIPTION
+
+o.pm is a simple source filter that adds
+C<package $name; use Mo;>
+to the beginning of your script and was entirely created because typing
+C<perl -e'package Foo; use Mo; ...'> is annoying.
+
+=head1 INTERFACE
+
+o provides exactly one method and it's automatically called by perl:
+
+=over 4
+
+=item B<import($package)>
+
+Pass a package name to import to be used by the source filter. The
+package defaults to C<Class> if none is given.
+
+=back
+
+=head1 DEPENDENCIES
+
+You will need L<Filter::Simple> and eventually L<Mo>
+
+=head1 INCOMPATIBILITIES
+
+None reported. But it is a source filter and might have issues there.
+
+=head1 BUGS
+
+See L<Mo/BUGS> for details on reporting bugs.
+
+=head1 AUTHOR
+
+Damien "dams" Krotkine
+
+=head1 COPYRIGHT AND LICENSE
+
+This software is copyright (c) 2011 by Damien "dams" Krotkine.
+
+This is free software; you can redistribute it and/or modify it under
+the same terms as the Perl 5 programming language system itself.
+
+=cut
+

0 comments on commit 14833ec

Please sign in to comment.