Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add call to `build()` to the synopsis.

  • Loading branch information...
commit 0a512e269d063eed09912f02235adf184f93eb1e 1 parent e95fded
David E. Wheeler authored
Showing with 5 additions and 1 deletion.
  1. +2 −0  Changes
  2. +3 −1 lib/Class/Meta.pm
2  Changes
View
@@ -2,6 +2,8 @@ Revision history for Perl extension Class::Meta.
0.66
- Fixed broken rt.cpan.org email address.
+ - Added missing call to `build()` in the synopsis. Thanks to Laurnet
+ Dami for the report (RT #72058).
0.65 2011-06-21T18:33:57
- Require Test::Pod 1.41 to run the Pod tests.
4 lib/Class/Meta.pm
View
@@ -44,12 +44,14 @@ Generate a class:
default => undef,
);
- # Add a custom method.
+ # Add a custom method.
$cm->add_method(
name => 'chk_pass',
view => 'PUBLIC',
code => sub { ... },
);
+
+ $cm->build;
}
sub chck_pass { ... }
Please sign in to comment.
Something went wrong with that request. Please try again.