Michael G Schwern wrote:
On Thu, Aug 11, 2005 at 02:49:57PM -0700, Ovid wrote:BEGIN { use_ok 'Test::Code' or die } ok defined *::is_code{CODE}, '&is_code should be exported to our namespace';I usually do this with can_ok() can_ok( __PACKAGE__, qw(is_code isnt_code) );
Isn't ok defined *::is_code{CODE}; just a convoluted way of saying ok defined &is_code; ? Ivan