CatalystX-Eta

 view release on metacpan or  search on metacpan

t/lib/MyApp/Test/Further.pm  view on Meta::CPAN

use CatalystX::Eta::Test::REST;

use JSON::MaybeXS;
use Test::More;

use Catalyst::Test q(MyApp);

# ugly hack
sub import {

    strict->import;
    warnings->import;

    no strict 'refs';

    my $caller = caller;

    while ( my ( $name, $symbol ) = each %{ __PACKAGE__ . '::' } ) {
        next if $name eq 'BEGIN';     # don't export BEGIN blocks
        next if $name eq 'import';    # don't export this sub
        next unless *{$symbol}{CODE}; # export subs only



( run in 1.024 second using v1.01-cache-2.11-cpan-299005ec8e3 )