MOP - A Meta Object Protocol for Perl 5
version 0.01
use MOP; my $m = MOP::Class->new( 'Foo' ); printf 'Intospecting %s package with version %s', $m->name, $m->version; foreach my $s ( $m->all_slots ) { printf 'Found slot %s', $s->name; } foreach my $m ( $m->all_methods ) { printf 'Found method %s', $m->name; }
This module implements a Meta Object Protocol for Perl 5.
Stevan Little <stevan@cpan.org>
This software is copyright (c) 2017 by Stevan Little.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install MOP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm MOP
CPAN shell
perl -MCPAN -e shell install MOP
For more information on module installation, please visit the detailed CPAN module installation guide.