| ☞ | Program
Repair Shop ![]() |
43 |
169 foreach my $parent ( @parent_path ) {
170 next if ( $parent eq 'Class::Observable' );
171 if ( $parent->isa( 'Class::Observable' ) ) {
172 push @observable_parents, $parent;
173 }
174 }
Whenever you write a special case, pause and ask yourself this question:
What if I left out this special case?
Sometimes, the answer is "nothing"
That's almost what it is here
| ☞ | ![]() |
☞ |