Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
exodist committed Sep 14, 2010
1 parent 11ad34d commit b4ebb3e
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions README
Expand Up @@ -9,16 +9,51 @@ DESCRIPTION
Using the module will import all the default exports from all
submodules. You may also list what you want imported.

SYNOPSYS
The example below imports blessed() from Scalar::Util, shuffle() from
List::Util, and alias() from Exodist::Util::Alias all at once.

use Exodist::Util qw/ blessed shuffle alias ... /;
alias 'My::Long::Class::Name::ToDoThing';

my $type = blessed( $obj );
my ($random) = shuffle(@list);
my $tdt = ToDoThing->new();

SUBMODULES
This module rolls all the following into one.

List::Util
The defacto standard for list functions.

Scalar::Util
The defacto standard for Scalar functions.

Exodist::Util::Package
Tools for injecting, finding, or mapping subroutines in a given
package.

Exodist::Util::Alias
Aliasing tools that do not require a 'use' or BEGIN { ...->import }
each time they are used.

Exodist::Util::Accessors
Tools for creating both ultra-minimal accessors, and highly
specialized accessors.

Use the minimal if you don't need anything fancy and don't want a
Moose memory footprint. The highly specialsed are not covered by
Moose and would likely be very verbose to define in Moose.

Exodist::Util::Loader
Useful for shortening plugin package names while allowing plugins
outside the plugin namespace. Check for package as-is, then check
for package nested in a specific namespace.

Exodist::Util::Sub
Enhance existing subs or define new subs as enhanced. Enhanced subs
can be directly queried for information such as start/end lines,
etc.

AUTHORS
Chad Granum exodist7@gmail.com
Expand Down

0 comments on commit b4ebb3e

Please sign in to comment.