summaryrefslogtreecommitdiff
path: root/dist/Tie-File/t/21_win32.t
diff options
context:
space:
mode:
Diffstat (limited to 'dist/Tie-File/t/21_win32.t')
-rw-r--r--dist/Tie-File/t/21_win32.t5
1 files changed, 5 insertions, 0 deletions
diff --git a/dist/Tie-File/t/21_win32.t b/dist/Tie-File/t/21_win32.t
index cabb93b53a..6904a8744f 100644
--- a/dist/Tie-File/t/21_win32.t
+++ b/dist/Tie-File/t/21_win32.t
@@ -1,4 +1,8 @@
#!/usr/bin/perl
+
+use strict;
+use warnings;
+
#
# Formerly, on a Win32 system, Tie::File would create files with
# \n-terminated records instead of \r\n-terminated. The tests never
@@ -21,6 +25,7 @@ my $N = 1;
use Tie::File;
print "ok $N\n"; $N++;
+my @a;
my $o = tie @a, 'Tie::File', $file, autodefer => 0;
print $o ? "ok $N\n" : "not ok $N\n";
$N++;