NAME

Swarmage::Util - Swarmage General Utilities

SYNOPSIS

use Swarmage::Util;
Swarmage::Util::load_module('My::Module', 'Prefix::Namespace');
Swarmage::Util::load_module('+My::Module');

METHODS

load_module($module, $prefix)

Loads a module. If the module name starts with a '+', then the module name is taken as-is without the '+'. Otherwise, the module name is prefixed with the second argument $prefix