do file no longer sees lexicals
authorJason Etheridge <jason@equinoxinitiative.org>
Fri, 25 Oct 2019 18:32:17 +0000 (14:32 -0400)
committerJason Etheridge <jason@equinoxinitiative.org>
Fri, 25 Oct 2019 18:32:17 +0000 (14:32 -0400)
Signed-off-by: Jason Etheridge <jason@equinoxinitiative.org>

text/clean_csv

index 599a5d0..2781a07 100755 (executable)
@@ -585,7 +585,7 @@ if ($apply && -e $ARGV[0] . '.fixes') {
 ################################################################## CSV Setup
 $CSV_options{sep_char} = get_separator( path => $ARGV[0], lucky => 1 );
 if ($config && -e $config) {
-       do $config;
+       eval `cat $config`;
 }
 $csv = Text::CSV_XS->new(\%CSV_options);
 $csv->callbacks(