Alt-IO-All-new
view release on metacpan or search on metacpan
inc/TestML/Runtime/TAP.pm view on Meta::CPAN
4567891011121314151617181920212223242526272829303132package
TestML::Runtime::TAP;
use
TestML::Base;
has
tap_object
=>
sub
{ Test::Builder->new };
has
planned
=> 0;
sub
run {
my
(
$self
) =
@_
;
$self
->SUPER::run;
$self
->check_plan;
$self
->plan_end;
}
sub
run_assertion {
my
(
$self
,
@args
) =
@_
;
$self
->check_plan;
$self
->SUPER::run_assertion(
@args
);
}
sub
check_plan {
my
(
$self
) =
@_
;
if
(!
$self
->planned) {
$self
->title;
$self
->plan_begin;
$self
->{planned} = 1;
}
}
lib/IO/All/Filesys.pm view on Meta::CPAN
23456789101112131415use
IO::All::Base;
has
name
=> ();
option
overload
=> ();
sub
upgrade {
my
$self
=
shift
;
$self
->{name} =
delete
$self
->{location}
if
$self
->{location};
$self
->SUPER::upgrade(
@_
);
}
1;
( run in 0.465 second using v1.01-cache-2.11-cpan-55f5a4728d2 )