summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Dumont <dod@debian.org>2021-06-06 17:01:48 +0200
committerDominique Dumont <dod@debian.org>2021-06-07 19:14:00 +0200
commit8ad29ca5edecfb4fbee03b00fe0db9466dc6cf3b (patch)
tree1d57ef315f9bb541b3171748dd4b75c073045f13
parent8b22bdcad605773b0431caae4a13050290f28147 (diff)
add README in examples directory
-rw-r--r--examples/README.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/README.org b/examples/README.org
new file mode 100644
index 00000000..538814b5
--- /dev/null
+++ b/examples/README.org
@@ -0,0 +1,9 @@
+This directory contains:
+
+- 2 examples using [[https://manpages.debian.org/buster/libconfig-model-dpkg-perl/Config::Model::Backend::DpkgSyntax.3pm.en.html][Config::Model::Backend::DpkgSyntax]] to read and
+ write Debian control files:
+ - dpkg-parser.pl :: an example to add DpkgSyntax role to a class and
+ parse a control file (=dpkg-test=)
+ - dpkg-writer.pl :: an example to add DpkgSyntax role to a class and
+ write a control file. The control data is hardcoded in
+ =dpkg-writer.pl= and the control file is shown on its output.