Skip to content

Commit

Permalink
compromise to mix child initializer into parent context
Browse files Browse the repository at this point in the history
  • Loading branch information
aki2o committed Oct 3, 2015
1 parent 328c437 commit 90f1287
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion xt/sample/11_ClassStdSimple.pl
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@

# astart initializer of Class::Std class
#my $c2 = ClassStdParent->new({
# aend equal: attr1 attr2
# aend equal: attr1 attr2 cattr1 cattr2

4 changes: 2 additions & 2 deletions xt/sample/lib/ClassStdParent.pm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use File::Basename;

# astart own initializer of BUILD in Class::Std
#$arg_ref->{
# aend equal: attr1 attr2
# aend equal: attr1 attr2 cattr1 cattr2
}

sub START {
Expand All @@ -31,7 +31,7 @@ use File::Basename;

# astart own initializer of START in Class::Std
#$arg_ref->{
# aend equal: attr1 attr2
# aend equal: attr1 attr2 cattr1 cattr2

# astart own scalar of START in Class::Std
#$
Expand Down

0 comments on commit 90f1287

Please sign in to comment.