mergeconf(``Merged'',``first.xml'',``second.xml'')
Murex::Config
Module to handle Murex MxG2000 Configurations
use Murex::Config
Module to handle Murex MxG2000 Configurations
None by default.
This module expects a log.conf file to exist. This file contains the Log4Perl Configuration.
Creates a new config object. Expects ``basedir'' to be set to the base directory.
Example:
my $configobject = Murex::Config->new(basedir=>"/hfx/home/develop/ml7tre/OOTest/conf/");
Reads an configuration file and applies it to the object.
Example:
$configobject->readfile(type=>"csv", filename=>"Eod_Schedule.csv", ); $configobject->readfile(type=>"xml", filename=>"MurexEnv_all.xml", );
Retrieves information about an environment.
Example:
my @envs=$configobject->environmentinfo(name=>$e); foreach my $result (@envs) { print Dumper($result); }
mergeconf(``Merged'',``first.xml'',``second.xml'')
Merges two configuration hash's into one. The last one is allowed to overwrite data from the first.
Example:
$configobject->mergeconf("MergedXML","MurexEnv_all.xml","MurexEnv_ml7tre.xml");
needs two strings as parameters (e.g. seed and password) and returns an encrypted/decrypted value.
Example:
$logger->info("Encrypted: ".$configobject->encrypt(seed=>"seed",password=>"password"));
needs two strings as parameters (e.g. seed and password) and returns an encrypted/decrypted value.
Example:
$logger->info("Decrypted: ".$configobject->decrypt(seed=>"seed",password=>"7a29a1a99e53bb2d6c9f77893b017ed6"));
Returns a MD5 checksum for a given filename.
Outputs to template toolkit
Visit the Murex User Group at http://www.linke.de/consulting/murex/usergroup
Markus Linke, <markus.linke@linke.de>.
Copyright 2005 by Markus Linke. All rights reserved. NO commercial use without authors written permission!
Please see Changes file.