On Sat, 16 Oct 2010 20:29:32 +0100, Fergal Daly <[email protected]> wrote: > use Test::Deep2 qw($deep); # import the "module" as $deep > > $deep->is_deeply($foo, $deep->set([1,2,3,4]));
Or, without requiring any special exported symbol:
use aliased 'Test::Deep2' => 'Deep';
Deep->is_deeply($foo, Deep->set([1,2,3,4]));
Sadly, the functions all then have to be written as class methods.
hdp.
