summary refs log tree commit diff
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
commit332ed93b9114e9280528c139fc7f58d49626a97d (patch)
tree7ed6b2d3178daa41fb952be7e8134e20ade2ed6f
parentcbbef45cc13fd3c325549fc339aadad9db8f6ca0 (diff)
downloadtap3-332ed93b9114e9280528c139fc7f58d49626a97d.tar.gz
tap3-332ed93b9114e9280528c139fc7f58d49626a97d.tar.xz
tap3-332ed93b9114e9280528c139fc7f58d49626a97d.zip
tap3: use env(1) to find perl
-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;