diff options
Diffstat (limited to 'scripts/Dpkg/Control')
-rw-r--r-- | scripts/Dpkg/Control/FieldsCore.pm | 2 | ||||
-rw-r--r-- | scripts/Dpkg/Control/HashCore.pm | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/scripts/Dpkg/Control/FieldsCore.pm b/scripts/Dpkg/Control/FieldsCore.pm index 82e1a7285..1c6a764fc 100644 --- a/scripts/Dpkg/Control/FieldsCore.pm +++ b/scripts/Dpkg/Control/FieldsCore.pm @@ -416,7 +416,7 @@ CTRL_* constants exported by Dpkg::Control. =over 4 -=item my $f = field_capitalize($field_name) +=item $f = field_capitalize($field_name) Returns the field name properly capitalized. All characters are lowercase, except the first of each word (words are separated by a hyphen in field names). diff --git a/scripts/Dpkg/Control/HashCore.pm b/scripts/Dpkg/Control/HashCore.pm index 1ff87ea5e..3a7b55116 100644 --- a/scripts/Dpkg/Control/HashCore.pm +++ b/scripts/Dpkg/Control/HashCore.pm @@ -65,7 +65,7 @@ spaces are stripped only on the first line of each field. =over 4 -=item my $c = Dpkg::Control::Hash->new(%opts) +=item $c = Dpkg::Control::Hash->new(%opts) Creates a new object with the indicated options. Supported options are: @@ -149,7 +149,7 @@ sub set_options { $$self->{$_} = $opts{$_} foreach keys %opts; } -=item my $value = $c->get_option($option) +=item $value = $c->get_option($option) Returns the value of the corresponding option. @@ -309,7 +309,7 @@ sub get_custom_field { Write the string representation of the control information to a file. -=item my $str = $c->output() +=item $str = $c->output() =item "$c" |