
Siebel::Srvmrgr::Regexes - common regexes used by Siebel::Srvrmgr

use Siebel::Srvrmgr::Regexes qw(SRVRMGR_PROMPT);
if($line =~ /SRVRMGR_PROMPT/) {
#do something
}

This modules exports several pre-compiled regular expressions by demand.

Regular expression to match the srvrmgr prompt, with or without any command. It will match the server name, if included.
Regular expression to match the load preferences response once the command is submitted.
Regular expression to match the load preferences command when submitted.
Regular expression to match the first line submitted by a Siebel enterprise when the srvrmgr connects to it. It will look like something like this:
Siebel Enterprise Applications Siebel Server Manager, Version 8.0.0.7 [20426] LANG_INDEPENDENT

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/>.