base::Glob - Establish IS-A relationships based on globbing patterns
package Class::Bar; sub method {2}; package Nomatch::Foo; sub method {3}; package main; use base::Glob qw(Class::*); print main->method(); # prints 2
This module allows you to extend base to form IS-A relationships with the use of globs on packages in the symbol table - in the style of Java's 'import java.class.*;'.
Text::Glob Devel::Symdump Sub::Uplevel
Probably.
Go all the way to Java-style by spidering to find modules to require and add to @ISA.
@ISA
Chris Ball, <chris@cpan.org>.
Michael Schwern for Sub::Uplevel, Andreas Koenig for Devel::Symdump, Richard Clamp for both Text::Glob and being scary enough to work out that Sub::Uplevel would make this work.
To install base::Glob, copy and paste the appropriate command in to your terminal.
cpanm
cpanm base::Glob
CPAN shell
perl -MCPAN -e shell install base::Glob
For more information on module installation, please visit the detailed CPAN module installation guide.