Skip to content

Commit

Permalink
Clarify what goes where with meta and universal autoboxed methods.
Browse files Browse the repository at this point in the history
For #42
  • Loading branch information
schwern committed Mar 22, 2013
1 parent d552731 commit fe19350
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lib/perl5i/2/Meta/Class.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package perl5i::2::Meta::Class;

# Methods here are for $thing->mc->method.

use strict;
use warnings;

Expand Down
2 changes: 2 additions & 0 deletions lib/perl5i/2/Meta/Instance.pm
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package perl5i::2::Meta::Instance;

# Methods here are for $thing->mo->method.

use 5.010_000;
use strict;
use warnings;
Expand Down
4 changes: 3 additions & 1 deletion lib/perl5i/2/UNIVERSAL.pm
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package perl5i::2::UNIVERSAL;

# Methods which apply to all autoboxed objects
# Methods which apply to all autoboxed objects.
#
# They do NOT apply to blessed objects. That should go into perl5i::2::Meta::Instance.

use strict;
use warnings;
Expand Down

0 comments on commit fe19350

Please sign in to comment.