« lib/App/SeismicUnixGui/big_streams/immodpg_global_constants.pm
↑ Summary
lib/App/SeismicUnixGui/configs/big_streams/BackupProject_config.pm »
| 1 | use Moose; | ||
| 2 | my $file = '/agllore/apple/gllor'; | ||
| 3 | my $one = 'gllor'; | ||
| 4 | my $two = 'gllore'; | ||
| 5 | |||
| 6 | $file =~ s/(?<=\b)(?=$one\b)$one/$two/g; | ||
| 7 | |||
| 8 | print $file; |