3 use vars qw(%subdir_list);
4 use vars qw(%header_list);
6 # explicit headers to avoid conflicts with experiment code
7 BEGIN { %header_list = (
8 "larrecodnn/ImagePatternAlgs/Tensorflow/WaveformRecogTools/IWaveformRecog.h" => "larrecodnn/ImagePatternAlgs/ToolInterfaces/IWaveformRecog.h",
9 "larrecodnn/ImagePatternAlgs/Tensorflow/PointIdAlgTools/IPointIdAlg.h" => "larrecodnn/ImagePatternAlgs/ToolInterfaces/IPointIdAlg.h"
12 foreach my $inc (sort keys %header_list) {
13 s&^(\s*#include\s+["<])\Q$inc\E(.*)&${1}$header_list{$inc}${2}& and last;