<<

NAME

pfconfig::cached_scalar

DESCRIPTION

pfconfig::cached_scalar

This module serves as an interface to create an object that will proxy it's access to the pfconfig service

It is used as a bridge between a pfconfig namespace element and an object without having a memory footprint unless when the object is used

USAGE

This class is used with tiying

Example : my $object; tie $object, 'pfconfig::cached_scalar', 'resource::fqdn'; print $hash{_ip};

This ties $object to the namespace 'resource::fqdn' defined in lib/pfconfig/namespaces/ and served though pfconfig

In order to call a method on this tied object my $zammit = tied($object)->zammit

TIESCALAR

Constructor of the object

FETCH

Accesses the object Will serve it from it's subcache if it has it and it's still has it Other than that it proxies the call to pfconfig

AUTHOR

Inverse inc. <info@inverse.ca>

COPYRIGHT

Copyright (C) 2005-2015 Inverse inc.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

POD ERRORS

Hey! The above document had some coding errors, which are explained below:

Around line 91:

=back without =over

<<