-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathREADME
79 lines (49 loc) · 1.92 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
README for Config::DotNetXML
Introduction
===========
This module provides a configuration facility similiar to that provided by
the .NET Framework inasmuch as it will read an XML file with the name
of $0.config of the format:
<configuration>
<appSettings>
<add key="Foo" value="Bar" />
</appSettings>
</configuration>
and will by default populate the hash %appSettings with the keys specified
by the <add /> elements. For more information see the POD documentation.
This may or may not be useful to you as it is limited to a one dimensional
configuration structure - but it was born out of a requirement to share a
configuration between Perl and C# programs.
Prerequisites
=============
This module requires XML::XPath to operate. This is a change from the initial
release that implemented its own Parser using XML::Parser.
Installation
============
Install the module by executing the following in the directory where you have
unpacked the module distribution:
perl Makefile.PL
make
make test
make install
You may need to use a different program than make on various different OS.
You will need to run the last step as a user with sufficient permissions to
create files in the Perl library directories - if you require the module to
be installed in an alternative location then you should run the first step as:
perl Makefile.PL PREFIX=/my/library/directory
You will need to then specify the appropriate location with :
use lib '/my/library/directory';
BUGS
====
It might be considered a bug that the hash %appSettings will be stomped on.
SUPPORT
=======
All bug reports and patches should be made directly to the author.
AUTHOR
======
Jonathan Stowe <[email protected]>
COPYRIGHT AND LICENSE
=====================
This library is free software and comes with no warranty whatsoever.
It can be distributed under the same terms as Perl itself.
Copyright (c) 2004, 2005 Jonathan Stowe