diff options
author | Jesse Luehrs <doy@tozt.net> | 2012-03-05 22:25:03 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2012-03-05 22:25:03 -0600 |
commit | f825b7f40d632675b3dd55fba94e4525a65922ae (patch) | |
tree | 7386c00499d7dc633b5fafe4d82f434a32f49855 | |
parent | 35e015fd125c305380291b44086d4781d41a5e76 (diff) | |
download | term-filter-f825b7f40d632675b3dd55fba94e4525a65922ae.tar.gz term-filter-f825b7f40d632675b3dd55fba94e4525a65922ae.zip |
make the subprocess scripts use strict and warnings
-rw-r--r-- | t/basic.t | 2 | ||||
-rw-r--r-- | t/callbacks.t | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -8,6 +8,8 @@ use IO::Pty::Easy; my $pty = IO::Pty::Easy->new(handle_pty_size => 0); my $script = <<'SCRIPT'; +use strict; +use warnings; use Term::Filter; my $term = Term::Filter->new; $term->run($^X, '-ple', q[last if /^$/]); diff --git a/t/callbacks.t b/t/callbacks.t index 1d690d9..05ac5f7 100644 --- a/t/callbacks.t +++ b/t/callbacks.t @@ -7,6 +7,8 @@ use IO::Pty::Easy; use IO::Select; my $script = <<'SCRIPT'; +use strict; +use warnings; use Term::Filter; my $term = Term::Filter->new( callbacks => { |