ASP4
view release on metacpan or search on metacpan
lib/ASP4/ConfigNode/System.pm view on Meta::CPAN
package ASP4::ConfigNode::System;
use strict;
use warnings 'all';
use base 'ASP4::ConfigNode';
sub new
{
my $class = shift;
my $s = $class->SUPER::new( @_ );
return $s;
}# end new()
sub libs
{
my $s = shift;
@{ $s->{libs} || [ ] };
}# end libs()
sub load_modules
{
my $s = shift;
@{ $s->{load_modules} || [ ] };
}# end load_modules()
sub env_vars
{
my $s = shift;
$s->{env_vars} || { };
}# end env_vars()
sub post_processors
{
my $s = shift;
@{ $s->{post_processors} || [ ] };
}# end post_processors()
sub settings
{
my $s = shift;
return $s->{settings} || { };
}# end settings()
1;# return true:
=pod
=head1 NAME
ASP4::ConfigNode::System - the 'system' portion of the config.
=head1 SYNOPSIS
my $system = $Config->system;
=head1 DESCRIPTION
This package provides special access to the elements specific to the C<system>
portion of the XML config file.
( run in 1.646 second using v1.01-cache-2.11-cpan-39bf76dae61 )