XAS::Base - The base class for the XAS environment
use XAS::Class version => '0.01', base => 'XAS::Base', vars => { PARAMS => {} } ;
This module defines a base class for the XAS Environment and inherits from Badger::Base. The package variable $PARAMS is used to hold the parameters that this class uses for initialization. The parameters can be changed or extended by inheriting classes. This is functionality provided by Badger::Class. The parameters are validated using Params::Validate. Any parameters defined in $PARAMS automagically become accessors toward their values.
This is used to initialized the class. It takes various parameters defined by the $PARAMS package variable.
This method will return an item from the internal class config. Which is usually the parameters passed to new() before any manipulation of those parameters.
The item you want to return,
This method is used by Params::Validate to display it's failure message.
The parameter that caused the exception.
The class that it happened in.
A handle to XAS::System::Environment.
XAS
Kevin L. Esteb, <kevin@kesteb.us>
Copyright (C) 2012 by Kevin L. Esteb
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install XAS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XAS
CPAN shell
perl -MCPAN -e shell install XAS
For more information on module installation, please visit the detailed CPAN module installation guide.