From 1f457b8296358200e614df0b4d25f53983fe365f Mon Sep 17 00:00:00 2001 From: "Nathan S. Watson-Haigh" Date: Wed, 12 Jan 2022 13:32:49 +1030 Subject: [PATCH] use warnings instead of -w flag `-w` flag is incompatible with `/usr/bin/env perl` (e.g. when installing via conda). Instead use `use warnings;` will have better compatibility. --- scripts/dnadiff.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/dnadiff.pl b/scripts/dnadiff.pl index 2ffcdbb..335f915 100644 --- a/scripts/dnadiff.pl +++ b/scripts/dnadiff.pl @@ -1,4 +1,4 @@ -#!__PERL_PATH -w +#!__PERL_PATH #------------------------------------------------------------------------------- # Programmer: Adam M Phillippy, University of Maryland @@ -13,6 +13,7 @@ use Foundation; use File::Spec::Functions; use strict; +use warnings; my $BIN_DIR = "__BIN_DIR"; my $SCRIPT_DIR = "__SCRIPT_DIR";