1# Don't filter until just before dispatch in run() 2 3use Test::Base tests => 4; 4 5eval { 6 run { pass }; 7}; 8 9like "$@", 10 qr/Can't find a function or method for/, 11 'expect an error'; 12 13__END__ 14=== One 15--- foo 16xxx 17 18=== Two 19--- foo 20xxx 21 22=== Three 23--- foo 24xxx 25 26=== Bad 27--- foo filter_doesnt_exist_vsdyufbkhdkbjagyewkjbc 28xxx 29 30