Config-Patch
view release on metacpan or search on metacpan
lib/Config/Patch.pm view on Meta::CPAN
93949596979899100101102103104105106107108109110111112113114
return
$encoded
;
}
###########################################
sub
thaw {
###########################################
my
(
$self
,
$string
) =
@_
;
# Decode a hidden string
$string
=~ s/^
$self
->{comment_char} //gm;
my
$decoded
= decode_base64(
$string
);
return
$decoded
;
}
###########################################
sub
replstring_extract {
###########################################
my
(
$self
) =
@_
;
my
$text
=
$self
->text();
# Find the replace string in a patch
( run in 0.236 second using v1.01-cache-2.11-cpan-eab888a1d7d )