diff options
author | Steven Schubiger <stsc@refcnt.org> | 2014-12-30 18:46:45 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2014-12-30 18:46:45 +0100 |
commit | 3efacbab405d1c178f06280957e4727959cc1175 (patch) | |
tree | 48b35277e74254c1992f5dfe718710f7538e5877 | |
parent | 36abab35a27dcd4d204dc186a3196aa1668805ee (diff) | |
download | lugs-3efacbab405d1c178f06280957e4727959cc1175.tar.gz lugs-3efacbab405d1c178f06280957e4727959cc1175.tar.bz2 |
lreminder: use explicit quoting for here-docs
-rwxr-xr-x | lreminder/reminder.pl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lreminder/reminder.pl b/lreminder/reminder.pl index 9cb408a..31ab073 100755 --- a/lreminder/reminder.pl +++ b/lreminder/reminder.pl @@ -15,7 +15,7 @@ # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # # Author: Steven Schubiger <stsc@refcnt.org> -# Last modified: Mon Aug 11 21:00:55 CEST 2014 +# Last modified: Mon Dec 29 19:06:34 CET 2014 use strict; use warnings; @@ -37,7 +37,7 @@ use Text::Wrap::Smart::XS qw(fuzzy_wrap); use URI (); use WWW::Mechanize (); -my $VERSION = '0.48'; +my $VERSION = '0.49'; #----------------------- # Start of configuration @@ -186,7 +186,7 @@ sub send_mail my $month_name = $month_names{$month}; -my $message = (<<MSG); +my $message = (<<"MSG"); Wann:\t$wday, $simple_day. $month_name $year, $time Uhr Was :\t$title Wo :\t$location @@ -238,7 +238,7 @@ sub info_string $modified =~ s/(?<=\b) (?:\d{2}\:?){3} (?=\b)//x; $modified =~ s/\s+/ /g; - my $info = <<EOT; + my $info = <<"EOT"; -- running $script v$VERSION - last modified: $modified EOT |