Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re: regexp for finding all function calls

by merlyn (Sage)
on Jul 08, 2009 at 02:01 UTC ( #778096=note: print w/ replies, xml ) Need Help??

in reply to regexp for finding all function calls

See B::Xref, which should be able to identify all calls.

-- Randal L. Schwartz, Perl hacker

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.

Comment on Re: regexp for finding all function calls
Replies are listed 'Best First'.
Re^2: regexp for finding all function calls
by marksman (Novice) on Jul 08, 2009 at 18:10 UTC
    B::Xref looks very useful now that I have a second look at it. Actually Fletch mentioned that in his first reply, so thanks also to Fletch.

    I am able to extract the line numbers of calls to Mod::func(). I'm still wondering whether B::Xref can actually display the original code from that function call. Does anyone know if that's possible?

    Right now I still don't know how many lines each function call spans.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2015-11-27 17:13 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls