--- Michael G Schwern <[EMAIL PROTECTED]> wrote: > > 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) );
I specifically avoid that with methods because &can_ok provides a default description which implies a method call. If I'm testing a function, not a method, the default description is misleading. > is_code() is a sucky name as it more says to me "is this code" not > "is X > routine the same as Y routine". You know this, but I thought I'd > kick off the discussion here. Agreed. I think eq_code is better. Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl -- http://users.easystreet.com/ovid/cgi_course/