John Drago > Apache2-ASP-2.46 > Apache2::ASP::ConfigLoader

Download:
Apache2-ASP-2.46.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  2
View/Report Bugs
Source  

NAME ^

Apache2::ASP::ConfigLoader - Universal access to the configuration.

SYNOPSIS ^

  use Apache2::ASP::ConfigLoader;
  
  my $Config = Apache2::ASP::ConfigLoader->load();
  
  # $Config is a Apache2::ASP::Config object.

DESCRIPTION ^

This package solves the "How do I get my config?" problem most web applications end up with at some point.

Config data is cached on a per-path basis. Paths are full - i.e. /usr/local/projects/mysite.com/conf/apache2-asp-config.xml - so there should never be a clash between two different configurations on the same web server, even if it is running multiple websites as VirtualHosts.

PUBLIC METHODS ^

load( )

Returns a Apache2::ASP::Config object.

BUGS ^

It's possible that some bugs have found their way into this release.

Use RT http://rt.cpan.org/NoAuth/Bugs.html?Dist=Apache2-ASP to submit bug reports.

HOMEPAGE ^

Please visit the Apache2::ASP homepage at http://www.devstack.com/ to see examples of Apache2::ASP in action.

AUTHOR ^

John Drago <jdrago_999@yahoo.com>

COPYRIGHT AND LICENSE ^

Copyright 2007 John Drago, All rights reserved.

This software is free software. It may be used and distributed under the same terms as Perl itself.

syntax highlighting: