Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: check modules used by a script and their version

by Tux (Monsignor)
on Apr 03, 2014 at 10:35 UTC ( #1080923=note: print w/ replies, xml ) Need Help??


in reply to check modules used by a script and their version

Did you know about Devel::TraceUse?


Enjoy, Have FUN! H.Merijn


Comment on Re: check modules used by a script and their version
Re^2: check modules used by a script and their version
by Discipulus (Priest) on Apr 03, 2014 at 10:40 UTC
    Obviously no! :=)
    Now that I know, you read my signature? ;=)

    L*
    UPDATE: Devel::TraceUse too seems to execute the code.(typo fixed, thanks to McA)
    UPDATE2: perl -c -d:TraceUse script.pl does not executes the script. thanks again

    L*


    There are no rules, there are no thumbs..
    Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

      BEGIN {...} blocks are executed by perl -c. It's not easy to prevent that.


      Dave

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2015-07-05 08:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (61 votes), past polls