Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: how to find the module of a specific function?

by ikegami (Patriarch)
on Oct 26, 2017 at 21:09 UTC ( #1202098=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use mro          qw( );
    use Scalar::Util qw( blessed );
    ...
    
       return undef;
    }
    
  2. or download this
    use B qw( svref_2object );
    
    ...
    
       return svref_2object($method_ref)->GV->STASH->NAME;
    }
    
  3. or download this
    use B qw( svref_2object );
    
    ...
    
       return svref_2object($method_ref)->FILE;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1202098]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2022-07-06 09:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?