
CatalystX::Usul::InflateSymbols - Return paths to installation directories

0.7.$Revision: 1181 $

package MyApp;
use Catalyst qw(InflateMore ConfigLoader ...);
MyApp->config->{InflateMore} = 'MyApp::Config';
package MyApp::Config;
use base qw(CatalystX::Usul::InflateSymbols);

The intention here is to demonstrate how to use Catalyst::Plugin::InflateMore. It is unlikely that anyone will find this module useful unless your share my view on application layout. Instead write your own class that implements the methods for the configuration file symbols of your choice.
My applications are divided into three parts by the installer. Since the installer supports multiple layouts these methods will return paths to each of those components. These methods are called from Catalyst::Plugin::InflateMore.

The constructor stores a copy of the application object
Return absolute path to the directory which defines the phase number
Return absolute path to the directory containing the programs
Takes a hash ref of config key and values. Inflates and untaints (as file paths) the values
Return the phase number derived from the "appldir"
Calls each of the other object methods thereby inflating each value

None

None


There are no known incompatibilities in this module

There are no known bugs in this module. Please report problems to the address below. Patches are welcome

Peter Flanigan, <Support at RoxSoft.co.uk>

Copyright (c) 2008 Peter Flanigan. All rights reserved
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic
This program is distributed in the hope that it will be useful, but WITHOUT WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE