Siebel::Srvrmgr::ListParser::Output::Tabular::Struct::Fixed - subclass to parse fixed width output from srvrmgr
This class is a subclass of Siebel::Srvrmgr::ListParser::Output::Tabular::Struct to parse fixed width output from srvrmgr.
srvrmgr
This is a read-only attribute which is defined internally by invoking the define_fields_pattern method during parsing execution.
define_fields_pattern
It is a string representing the pattern of the fields to be used with unpack function.
unpack
Overrided from the parent class.
Based on the first two rows of a srvrmgr output with fixed width format, it will define the fields pattern to be used with unpack to retrieve the fields values.
Expects the "------------" line under the header with the fields names.
Overrided from parent class.
Returns the fields values as an array reference.
Expects a string with fields values to be parsed.
Siebel::Srvrmgr::ListParser::Output::Tabular
Moose
Siebel::Srvrmgr::ListParser::Output::Tabular::Struct
Alceu Rodrigues de Freitas Junior, <arfreitas@cpan.org>.
This software is copyright (c) 2013 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.