summaryrefslogtreecommitdiff
path: root/scripts/Dpkg/Control/Hash.pm
diff options
context:
space:
mode:
authorRaphaël Hertzog <hertzog@debian.org>2010-02-26 11:10:08 +0100
committerRaphaël Hertzog <hertzog@debian.org>2010-02-26 14:09:02 +0100
commit0934601905ea4546a874a6558f7a2a2552cd62f1 (patch)
tree4ccd81821d61bbd71fe9257f48c07d6597f76664 /scripts/Dpkg/Control/Hash.pm
parent99d10e43d038693d59d455ec3402857fc57da034 (diff)
downloaddpkg-0934601905ea4546a874a6558f7a2a2552cd62f1.tar.gz
Update POD documentation to indicate that it's using UTF-8 encoding
Also fix many spelling errors spotted by lintian.
Diffstat (limited to 'scripts/Dpkg/Control/Hash.pm')
-rw-r--r--scripts/Dpkg/Control/Hash.pm6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/Dpkg/Control/Hash.pm b/scripts/Dpkg/Control/Hash.pm
index 2633b4f97..9ecf7d346 100644
--- a/scripts/Dpkg/Control/Hash.pm
+++ b/scripts/Dpkg/Control/Hash.pm
@@ -34,6 +34,8 @@ use overload
'%{}' => sub { ${$_[0]}->{'fields'} },
'eq' => sub { "$_[0]" eq "$_[1]" };
+=encoding utf8
+
=head1 NAME
Dpkg::Control::Hash - parse and manipulate a block of RFC822-like fields
@@ -46,7 +48,7 @@ capitalized the same when output (see field_capitalize function in
Dpkg::Control::Fields).
The order in which fields have been set is remembered and is used
to be able to dump back the same content. The output order can also be
-overriden if needed.
+overridden if needed.
You can store arbitrary values in the hash, they will always be properly
escaped in the output to conform to the syntax of control files. This is
@@ -260,7 +262,7 @@ file.
Get a string representation of the control information. The fields
are sorted in the order in which they have been read or set except
-if the order has been overriden with set_output_order().
+if the order has been overridden with set_output_order().
=item $c->output($fh)