Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: check modules used by a script and their version

by Discipulus (Priest)
on Apr 03, 2014 at 10:40 UTC ( #1080925=note: print w/ replies, xml ) Need Help??


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

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.


Comment on Re^2: check modules used by a script and their version
Select or Download Code
Replies are listed 'Best First'.
Re^3: check modules used by a script and their version
by davido (Archbishop) on Apr 03, 2014 at 16:17 UTC

    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://1080925]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2015-07-30 08:17 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 (270 votes), past polls