Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dams committed Sep 17, 2013
1 parent ec59588 commit 4af7ee4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2013-09-17-p5-mop.markdown
Expand Up @@ -432,7 +432,7 @@ So, "blame Larry" ? :)

p5-mop doesn't use @ISA for inheritance, so `use base 'Exporter'` won't work.
You have to do `use Exporter 'import'`. That is somewhat disturbing because
most Perl developers (I think) implement symbols export by inheriting from
most Perl developers (I think) implement functions and variables exporting by inheriting from
Exporter (that's also what the documentation of Exporter recommends).

You could argue that one should code clean classes (that don't export anything,
Expand Down

0 comments on commit 4af7ee4

Please sign in to comment.