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 "cetlib/coded_exception.h" => "cetlib_except/coded_exception.h",
9 "cetlib/demangle.h" => "cetlib_except/demangle.h",
10 "cetlib/exception.h" => "cetlib_except/exception.h",
11 "cetlib/exception_collector.h" => "cetlib_except/exception_collector.h"
14 foreach my $inc (sort keys %header_list) {
15 s&^(\s*#include\s+["<])\Q$inc\E(.*)&${1}$header_list{$inc}${2}& and last;