in reply to defined &{ $pkg . '::foo' } vs. $pkg->can( 'foo' )

Yes, the first tells you if a certain sub is defined in a certain package. The second tells if you a class can call a particular method. The main difference is that the second one knows about inherritence.
  • Comment on Re: defined &{ $pkg . '::foo' } vs. $pkg->can( 'foo' )