whoami7 - Manager
:
/
proc
/
thread-self
/
root
/
usr
/
share
/
doc
/
perl-Test-Harness
/
examples
/
harness-hook
/
lib
/
Harness
/
Upload File:
files >> //proc/thread-self/root/usr/share/doc/perl-Test-Harness/examples/harness-hook/lib/Harness/Hook.pm
package Harness::Hook; use strict; use warnings; use Carp; sub new { my ( $class, $harness ) = @_; my $self = bless {}, $class; $harness->callback( 'before_runtests', sub { my ($aggregate) = @_; warn "Before runtests\n"; } ); $harness->callback( 'after_runtests', sub { my ( $aggregate, $results ) = @_; warn "After runtests\n"; } ); return $self; } 1;
Copyright ©2021 || Defacer Indonesia