Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

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

by Discipulus (Canon)
on Apr 03, 2014 at 10:40 UTC ( [id://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.

Replies are listed 'Best First'.
Re^3: check modules used by a script and their version
by davido (Cardinal) 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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1080925]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2025-06-22 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.