3 package Debian
::Debhelper
::config_package
;
9 use vars
qw(@ISA @EXPORT);
11 @EXPORT=qw(&encode &decode);
17 foreach (split('', $input)) {
21 $result .= "+".lc($_)."+";
27 $result .= "+x".hex(ord($_))."+";
36 return "_" if $_ eq "-";
37 return uc($_) if /^[a-z]$/;
44 $input =~ s/\+([^+]*)\+/unparse($1)/eg;