Swarmage::Util - Swarmage General Utilities


Swarmage documentation  | view source Contained in the Swarmage distribution.

Index


NAME

Top

Swarmage::Util - Swarmage General Utilities

SYNOPSIS

Top

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

METHODS

Top

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


Swarmage documentation  | view source Contained in the Swarmage distribution.