Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Re: Re: Source-Code Analysis?

by drewbie (Chaplain)
on May 18, 2004 at 00:24 UTC ( [id://354137]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Source-Code Analysis?
in thread Source-Code Analysis?

Funny you should post this - I just used your module a couple days ago to find module dependencies so I can install a webapp in a standalone situation. And it did a great job in a very quick & easy way. :-)

The downside: it missed one module. I'm using Class::DBI, and it missed the DBIx::ContextualFetch module used by Ima::DBI. But that seems forgivable since the only mention of DBIx::CF in Ima::DBI is in the RootClass attribute passed to DBI->connect. No use statement at all. Hmm, maybe I should submit a patch...

Replies are listed 'Best First'.
Re: Re: Re: Re: Source-Code Analysis?
by rjray (Chaplain) on May 18, 2004 at 00:27 UTC

    That's odd. Were you, by chance, using the "stop" option to get a reading without actually running the application? Because one limitation it does have is that modules loaded dynamically at run-time don't show up during the initial compile phase. If you ran the application from start to end, I would think it would catch these extras.

    (The same thing would happen with plain-old DBI and any associated drivers.)

    --rjray

      Nope - I got the output of the script, followed by the module use information. I used the first example in the Synopsis section. It was just the one-liner. I'd cut-n-paste the results but I don't have access to the server I was using it on right now.

        Huh. Well, if you (or anyone else reading) can come up with a fairly small failure-case, I'll be happy to pick it apart and try to find the bug.

        --rjray

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-19 15:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found