Test-Simpler
view release on metacpan or search on metacpan
lib/Test/Simpler.pm view on Meta::CPAN
use Data::Dump qw< dump >;
use List::Util qw< max >;
use base 'Test::Builder::Module';
# Export the module's interface...
our @EXPORT = ( 'ok' );
our @EXPORT_OK = ();
our %EXPORT_TAGS = ();
sub ok($;$) {
my $outcome = shift;
my $desc = @_ ? "@_" : undef;
# Grab the upscope variables...
my %value_for = ( %{peek_our(1)}, %{peek_my(1)} );
# Cache for source code...
state %source;
# Where were we called???
( run in 0.528 second using v1.01-cache-2.11-cpan-524268b4103 )