IO::Iron::ClientBase - Base package for Client Libraries to Iron services IronCache, IronMQ and IronWorker.
version 0.14
# new() in the inheriting sub class. sub new { my ($class, $params) = @_; my $self = IO::Iron::ClientBase->new(); # Add more keys to the self hash. my @self_keys = ( 'caches', # References to all objects created of class IO::Iron::IronCache::Cache. legal_keys(%{$self}), ); unlock_keys(%{$self}); lock_keys_plus(%{$self}, @self_keys); my @caches; $self->{'caches'} = \@caches; unlock_keys(%{$self}); bless $self, $class; lock_keys(%{$self}, @self_keys); return $self; }
Creator function.
Declares the mandatory items of self hash.
Set or get a property. When setting, returns the reference to the object.
Mikko Koivunalho <mikko.koivunalho@iki.fi>
Please report any bugs or feature requests to bug-io-iron@rt.cpan.org or through the web interface at: http://rt.cpan.org/Public/Dist/Display.html?Name=IO-Iron
This software is copyright (c) 2023 by Mikko Koivunalho.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
The full text of the license can be found in the LICENSE file included with this distribution.
To install IO::Iron, copy and paste the appropriate command in to your terminal.
cpanm
cpanm IO::Iron
CPAN shell
perl -MCPAN -e shell install IO::Iron
For more information on module installation, please visit the detailed CPAN module installation guide.