Skip to content

Commit

Permalink
correct synopsis
Browse files Browse the repository at this point in the history
  • Loading branch information
mateu committed Sep 10, 2012
1 parent f84112e commit d389466
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/MooX/Types/MooseLike.pm
Expand Up @@ -108,7 +108,7 @@ MooX::Types::MooseLike - some Moosish types and a type builder
=head1 SYNOPSIS
package MyApp::Types;
use MooX::Types::MooseLike::Base;
use MooX::Types::MooseLike;
use base qw(Exporter);
our @EXPORT_OK = ();
Expand Down Expand Up @@ -136,7 +136,7 @@ MooX::Types::MooseLike - some Moosish types and a type builder
# Somewhere in code that uses the type
package MyApp::Foo;
use Moo;
use MyApp::Types qw(MyType);
use MyApp::Types qw(MyType MyLengthTypeWithParam);
has attribute => (
is => 'ro',
isa => MyType,
Expand Down

0 comments on commit d389466

Please sign in to comment.