title: What's the best way to discover all subroutines a Perl module has?
body: <p>What's the best way to programatically discover all of the subroutines a perl module has?  This could be a module, a class (no @EXPORT), or anything in-between.</p>
  
  <p>Edit: All of the methods below look like they will work.  I'd probably use the   Class::Sniff or Class::Inspector in production.  However, Leon's answer is marked as 'accepted' since it answers the question as posed, even though <code>no strict 'refs'</code> has to be used.  :-)  Class::Sniff may be a good choice as it progresses; it looks like a lot of thought has gone into it.</p>