Siebel::Srvrmgr::Daemon::Action::Serializable - role for serializable subclasses of Siebel::Srvrmgr::Daemon::Action
This class is a role, not a subclass of Siebel::Srvrmgr::Daemon::Action. It is intended to be used by subclasses that needs serialization to the filesystem.
This attribute is a string used to indicate in which file the data from the class using this role should be serialized into the OS filesystem. The string can be a complete path or just the filename.
Returns the string stored in the attribute dump_file.
dump_file
Sets the attribute dump_file. Expects a string as parameter.
Right after object creation this method will process the params attribute and retrieve the first index of the array reference to define the dump_file attribute using the method set_dump_file.
params
set_dump_file
If the params attribute is an empty reference, the method wil raise an exception. If the value given is undefined or an empty string, an exception will be raised as well.
Serializes a arbitrary data reference to the file as returned by get_dump_file method. That serialization is done with Storable module nstore function.
get_dump_file
nstore
Expects as parameters a data reference.
Returns any value returned by the nstore function.
Siebel::Srvrmgr::Daemon::Action
Storable
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
This software is copyright (c) 2012 of Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>
This file is part of Siebel Monitoring Tools.
Siebel Monitoring Tools 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 3 of the License, or (at your option) any later version.
Siebel Monitoring Tools 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 Siebel Monitoring Tools. If not, see <http://www.gnu.org/licenses/>.
To install Siebel::Srvrmgr, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Siebel::Srvrmgr
CPAN shell
perl -MCPAN -e shell install Siebel::Srvrmgr
For more information on module installation, please visit the detailed CPAN module installation guide.