Use << here-doc syntax
authorHeiko Schlittermann <hs@schlittermann.de>
Mon, 02 May 2016 23:11:59 +0200
changeset 4 6b7f69be290a
parent 3 10ee65f99a7d
child 5 3ae3e79ee936
Use << here-doc syntax
check_tlsa
--- a/check_tlsa	Mon May 02 23:08:42 2016 +0200
+++ b/check_tlsa	Mon May 02 23:11:59 2016 +0200
@@ -34,14 +34,10 @@
 my $url     = 'https://schlittermann.de';
 my $author  = 'Heike Yvonne Pesch';
 my $email   = '<pesch@schlittermann.de>';
-my $extra =
-    LF
-  . 'Author: '
-  . $author . ' '
-  . $email
-  . LF
-  . 'For more information visit '
-  . $url;
+my $extra   = <<_;
+Author: $author $email
+For more information visit $url
+_
 my $license = 'GPLv3';
 my $usage =
     'Usage: %s [ -v|--verbose ] [-H <host>] [-t <timeout>] '