NAME

Uttu::Resource - parses resource configuration files

SYNOPSIS

In code:

Uttu::Resource -> parse(Uttu -> retrieve, $filename);

In Uttu configuration file:

[global]
resources conf/resources.xml

In resource file:

<resources id="site">
  <!-- resource definitions -->
</resources>

Retrieve resource pool and get handle:

my $pool = $u -> resource('ldap');
my $ldap = $pool -> get();
# do stuff with $ldap (Net::LDAP object)
$pool -> free($ldap);

DESCRIPTION

SEE ALSO

The documentation for each element: ldap, pool, resources.

AUTHOR

James Smith, <jsmith@cpan.org>

COPYRIGHT