[Make the original versions of relocated paths available from
%Config::Config with the prefix "raw_". Not sure if "raw_" is the
best choice.]
p4raw-id: //depot/perl@28210
if (@need_relocation) {
$heavy_txt .= 'foreach my $what (qw(' . join (' ', @need_relocation) .
")) {\n" . <<'EOT';
- s<^($what=)(['"])(.*?)\2>
- <$1 . $2 . relocate_inc($3) . $2 . "\n" .
- 'raw_' . $1 . $2 . $3 . $2>me;
+ s/^($what=)(['"])(.*?)\2/$1 . $2 . relocate_inc($3) . $2/me;
}
EOT
# Currently it only makes sense to do the ... relocation on Unix, so there's