NAME

App::Isa::Splain - Visualize Module Hierarchies on the command line

VERSION

version 0.002001

SYNOPSIS

my $instance = App::Isa::Splain->new_from_ARGV;
$instance->run;
Colorised output from a Moose::Meta::Class

METHODS

new

Creates an Explainer script for the given module

my $instance = App::Isa::Splain->new(
  module => "module::name"
);

new_from_ARGV

Creates an Explainer script by passing command line arguments

my $instance = App::Isa::Splain->new_from_ARGV;
my $instance = App::Isa::Splain->new_from_ARGV(\@ARGV); # Alternative syntax

See COMMAND LINE ARGUMENTS

run

Executes the explainer and prints its output.

COMMAND LINE ARGUMENTS

isa-splain [-MModule::Name] Module::Name
  • Module::Name

    A module to require and analyze the ISA of.

  • -MModule::Name

    A module to load instead of the module being analyzed, for example:

    isa-splain -MB B::CV
    isa-splain -Moose Class::MOP::Class

    Helpful for cases where simple isa-splain Module::Name causes problems.

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Kent Fredric <kentfredric@gmail.com>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.