DESCRIPTION
SAP::Config is a rip off of a module my good friend DJ Adams wrote as a generic tool for handling interface login parameters and the like.
It used the perl native import method to load up *.config files in a give directory:
use SAP::Config qw(/home/piers/code/saprfc/examples/); my %config = SAP::Config::get();
where the keys of the first level of the hash are the names of the files in the supplied directory.
if a config file sap.config looks like: ashost kogut sysnr 17 client 000 lang EN user developer passwd secret trace 1 Then the value ashost is accessed vial $config{'sap'}->{'ashost'}.
METHODS:
get return a hash of the config file values.
AUTHOR
Piers Harding, piers@ompa.net.
But Credit must go to all those that have helped.
SEE ALSO
perl(1), SAP::Rfc(3), SAP::Iface(3), SOAP::Lite(3).