about summary refs log tree commit diff
path: root/tap3
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-11-01 17:47:18 +0100
committerLeah Neukirchen <leah@vuxu.org>2017-11-01 17:47:18 +0100
commitde6272295d5ce3927edae7a0ed9599f3831e138f (patch)
tree23f2e105f7e725e225f2ef270b419f88210d2222 /tap3
parent2afc62578a26989713acebe085bbdcb8616069d6 (diff)
downloadxe-de6272295d5ce3927edae7a0ed9599f3831e138f.tar.gz
xe-de6272295d5ce3927edae7a0ed9599f3831e138f.tar.xz
xe-de6272295d5ce3927edae7a0ed9599f3831e138f.zip
tap3: use env(1) to find perl
Diffstat (limited to 'tap3')
-rwxr-xr-xtap33
1 files changed, 2 insertions, 1 deletions
diff --git a/tap3 b/tap3
index 53ddc80..9a0db42 100755
--- a/tap3
+++ b/tap3
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/bin/env perl
 # tap3 [DESC] - check output/error/status of a command against a specification
 #
 # A tiny variant of shelltestrunner (format v1), just takes one test
@@ -26,6 +26,7 @@
 # http://creativecommons.org/publicdomain/zero/1.0/
 
 use strict;
+use warnings;
 use Symbol 'gensym';
 use IPC::Open3;