Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

/var/sites/help-site.com/auto/tmp/CPAN/9677/SAP-Rfc-1.55/lib/SAP/Config.pm

/var/sites/help-site.com/auto/tmp/CPAN/9677/SAP-Rfc-1.55/lib/SAP/Config.pm


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

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy