diff options
author | Siri Reiter <siri@pjones.dk> | 2021-11-19 01:01:54 +0100 |
---|---|---|
committer | Siri Reiter <siri@pjones.dk> | 2021-11-19 01:01:54 +0100 |
commit | fd6e026059e4823c841d1169cf0f6aa1e79aa248 (patch) | |
tree | 1e56c6274e94cf962f37b0a5e2a81bd059b43e04 | |
parent | fd55b94cabddb9a8caa3b4598b4ef40056be01fd (diff) |
tighten boilerplate
-rwxr-xr-x | feedback.cgi | 7 | ||||
-rwxr-xr-x | fribillet.cgi | 7 | ||||
-rwxr-xr-x | kontakt.cgi | 7 | ||||
-rwxr-xr-x | vejviseren/familieture.cgi | 7 |
4 files changed, 24 insertions, 4 deletions
diff --git a/feedback.cgi b/feedback.cgi index 72c947a..23c3023 100755 --- a/feedback.cgi +++ b/feedback.cgi @@ -1,4 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl + +use strict; +use warnings; use CGI::FormBuilder; @@ -101,3 +104,5 @@ if ($form->submitted) { template => $req_path ); } + +1; diff --git a/fribillet.cgi b/fribillet.cgi index e2cf717..966c2e3 100755 --- a/fribillet.cgi +++ b/fribillet.cgi @@ -1,4 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl + +use strict; +use warnings; use CGI::FormBuilder; @@ -129,3 +132,5 @@ if ($form->submitted) { template => $req_path ); } + +1; diff --git a/kontakt.cgi b/kontakt.cgi index 62696d0..236a6a1 100755 --- a/kontakt.cgi +++ b/kontakt.cgi @@ -1,4 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl + +use strict; +use warnings; use CGI::FormBuilder; @@ -129,3 +132,5 @@ if ($form->submitted) { template => $req_path ); } + +1; diff --git a/vejviseren/familieture.cgi b/vejviseren/familieture.cgi index 1d7dd97..af8553c 100755 --- a/vejviseren/familieture.cgi +++ b/vejviseren/familieture.cgi @@ -1,4 +1,7 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl + +use strict; +use warnings; use CGI::FormBuilder; @@ -129,3 +132,5 @@ if ($form->submitted) { template => $req_path ); } + +1; |