about summary refs log tree commit
path: root/t
diff options
context:
space:
mode:
authorSteve Hay <steve.m.hay@googlemail.com>2016-07-07 08:39:04 +0100
committerSteve Hay <steve.m.hay@googlemail.com>2016-07-07 08:39:04 +0100
commit91e593b615334fa76ef0454c4e601b98b6663841 (patch)
tree5c8dd2ba9a6aa1cd19a8c9cb0694fb86bfaa574d /t
parent2e2c495046bf48fd154f6ea6f59236817963a003 (diff)
downloadperl-libnet-91e593b615334fa76ef0454c4e601b98b6663841.tar.gz
Provide (and document) a default Net::Cmd::timeout()
Previuosly, subclasses were required to provide a timeout() function, but
this was not documented anywhere!

Fixes CPAN RT#110978.
Diffstat (limited to 't')
-rw-r--r--t/datasend.t2
1 files changed, 0 insertions, 2 deletions
diff --git a/t/datasend.t b/t/datasend.t
index 0aea9d4..05903fb 100644
--- a/t/datasend.t
+++ b/t/datasend.t
@@ -21,8 +21,6 @@ BEGIN {
   use Net::Cmd;
   our @ISA = qw(Net::Cmd IO::File);
 
-  sub timeout { 0 }
-
   sub new {
     my $fh = shift->new_tmpfile;
     binmode($fh);