From d2b44a7bb135579368f93e7d4824480c000eaa64 Mon Sep 17 00:00:00 2001 From: Obfuscoder Date: Fri, 17 Oct 2014 18:30:46 +0200 Subject: Fix perlcritic issues for all scripts starting with a --- scripts/awayproxy.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/awayproxy.pl') diff --git a/scripts/awayproxy.pl b/scripts/awayproxy.pl index 422a6ad..628e0f4 100644 --- a/scripts/awayproxy.pl +++ b/scripts/awayproxy.pl @@ -147,7 +147,7 @@ sub msgsend_check { # {{{ sub send_mail { # {{{ my $text = shift; debug("Sending mail"); - open MAIL, "|" . $config{sendmail} . " -t"; + open MAIL, q{|-}, $config{sendmail} . " -t"; print MAIL "To: $config{emailto}\n"; print MAIL "From: $config{emailfrom}\n"; print MAIL "Subject: $config{emailsubject}\n"; -- cgit v1.2.3