projects
/
gitmo/Class-MOP.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
whole bunch of stuff
[gitmo/Class-MOP.git]
/
examples
/
ClassEncapsulatedAttributes.pod
diff --git
a/examples/ClassEncapsulatedAttributes.pod
b/examples/ClassEncapsulatedAttributes.pod
index
6087196
..
80bf6bb
100644
(file)
--- a/
examples/ClassEncapsulatedAttributes.pod
+++ b/
examples/ClassEncapsulatedAttributes.pod
@@
-5,7
+5,7
@@
package # hide the package from PAUSE
use strict;
use warnings;
-our $VERSION = '0.02';
+our $VERSION = '0.03';
use base 'Class::MOP::Class';
@@
-111,7
+111,7
@@
ClassEncapsulatedAttributes - A set of example metaclasses with class encapsulat
sub new {
my $class = shift;
- bless $class->meta->construct_instance(@_) => $class;
+ $class->meta->new_object(@_);
}
package Bar;