Murex::Base
Module to handle Murex Mx G2000 and Mx.3 Configurations
use Murex::Base
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::Base->new(basedir=>"/home/wherever/");
Reads an configuration file and applies it to the object.
$configobject->readfile(type=>"csv", filename=>"Eod_Schedule.csv", ); $configobject->readfile(type=>"xml", filename=>"MurexEnv_all.xml", );
Retrieves information about an environment.
my @envs=$configobject->environmentinfo(name=>$e); foreach my $result (@envs) { print Dumper($result); }
Merges two configuration hash's into one. The last one is allowed to overwrite data from the first.
$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.
$logger->info("Encrypted: ".$configobject->encrypt(seed=>"seed",password=>"password"));
$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://murex.it-projects.com Please submit bugs via Bugzilla at http://bugzilla.it-projects.com To join the Murex Mailing List visit http://murex.it-projects.com/join-us Visit the author's website at http://www.linke.de
Markus Linke, markus.linke@linke.de, http://www.linke.de
Copyright 2005, 2006 by Markus Linke. All rights reserved. NO commercial use without authors written permission!
Please see Changes file.
To install Murex, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Murex
CPAN shell
perl -MCPAN -e shell install Murex
For more information on module installation, please visit the detailed CPAN module installation guide.