Gungho::Util - Gungho General Utilities


Gungho documentation  | view source Contained in the Gungho distribution.

Index


NAME

Top

Gungho::Util - Gungho General Utilities

SYNOPSIS

Top

  use Gungho::Util;
  Gungho::Util::load_module('My::Module', 'Prefix::Namespace');
  Gungho::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


Gungho documentation  | view source Contained in the Gungho distribution.