summaryrefslogtreecommitdiff
path: root/t/init.t
diff options
context:
space:
mode:
Diffstat (limited to 't/init.t')
-rw-r--r--t/init.t13
1 files changed, 13 insertions, 0 deletions
diff --git a/t/init.t b/t/init.t
new file mode 100644
index 0000000..532a277
--- /dev/null
+++ b/t/init.t
@@ -0,0 +1,13 @@
+#!/usr/bin perl -w
+
+use strict;
+use Test::More tests => 1;
+
+use CGI;
+
+
+$_ = "abcdefghijklmnopq";
+my $IN;
+open ($IN, "t/init_test.txt");
+my $q = CGI->new($IN);
+is($_, 'abcdefghijklmnopq', 'make sure not to clobber $_ on init');