Commits

Shlomi Fish committed 6089e77

Add more examples in the SYNOPSIS section.

Thanks to mst ( https://metacpan.org/author/MSTROUT ) for guiding me through
using this module, and asking me to add the documentation for making it more
"shlomif-proof", and so more idiot-proof in general (for some bar of idiots).

  • Participants
  • Parent commits 0ae26fb

Comments (0)

Files changed (1)

 	use MooX::late;
 	has bar => (is => 'ro', isa => 'Str');
 
+or, for MooX::Role:
+
+    package MyRole;
+    use MooX::Role qw(late);
+
+or, inside L<Package::Variant>:
+
+    use Package::Variant
+        importing => ['MooX::Role' => ['late'],],
+        subs => [ qw(has with) ];
+
 =head1 DESCRIPTION
 
 L<Moo> is a light-weight object oriented programming framework which aims