Name

Catalyst::Plugin::InflateMore - Inflates symbols in application config

Version

0.1.$Revision: 12 $

Synopsis

use Catalyst qw(InflateMore ConfigLoader ...);

Description

If symbols like __MYSYMBOL__, __BINSDIR__, or __binsdir()__ are present in the application config they will be inflated to the appropriate directory paths if the coresponding lower case method name is defined in the inflation class

Configuration and Environment

The Plugin::InflateMore attribute in the application config hash contains the name of the class whoose methods will do the actual inflating

Subroutines/Methods

setup

Create an instance of the class that will do the inflating

finalize_config

Override C::P::ConfigLoader method. Inflates any symbols matching the patters __SYMBOL__ and __symbol( value )__

_inflate

Call the appropriate method to get the base path and append any arguments. Returns a Path::Class object representing the arguments passed

Diagnostics

None

Dependencies

Catalyst::Utils
Class::C3
Class::Data::Accessor
Data::Visitor::Callback
Path::Class

Incompatibilities

There are no known incompatibilities in this module

Bugs and Limitations

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

Author

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

License and Copyright

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