3 use vars qw(%dir_list);
5 "nutools_G4Base" => "nug4_G4Base",
6 "nutools_MagneticField_MagneticField_service" => "nug4_MagneticField_MagneticField_service",
7 "nutools_ParticleNavigation" => "nug4_ParticleNavigation"
10 foreach my $lib (sort keys %dir_list) {
11 next if m&add_subdirectory&i;
12 next if m&simple_plugin&i;
13 next if m&SUBDIRNAME&i;
15 #s&\b\Q${lib}\E([^\.\s]*\b)([^\.]|$)&$dir_list{$lib}${1}${2}&g and last;
16 s&\b\Q${lib}\E\b([^\.]|$)&$dir_list{$lib}${1}${2}&g and last;