summaryrefslogtreecommitdiff
path: root/t/lib/ftmp-posix.t
diff options
context:
space:
mode:
Diffstat (limited to 't/lib/ftmp-posix.t')
-rwxr-xr-xt/lib/ftmp-posix.t13
1 files changed, 6 insertions, 7 deletions
diff --git a/t/lib/ftmp-posix.t b/t/lib/ftmp-posix.t
index f28785e87a..6802374b10 100755
--- a/t/lib/ftmp-posix.t
+++ b/t/lib/ftmp-posix.t
@@ -1,15 +1,14 @@
-#!./perl
+#!/usr/bin/perl -w
+# Test for File::Temp - POSIX functions
BEGIN {
- chdir 't' if -d 't';
- unshift @INC, '../lib';
+ chdir 't' if -d 't';
+ unshift @INC, '../lib';
+ require Test; import Test;
+ plan(tests => 7);
}
-# Test for File::Temp - POSIX functions
-
use strict;
-use Test;
-BEGIN { plan tests => 7}
use File::Temp qw/ :POSIX unlink0 /;
ok(1);