Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re^4: Finding what args were passed to the perl interpretter ?

by dpuu (Chaplain)
on Nov 20, 2008 at 00:34 UTC ( #724770=note: print w/replies, xml ) Need Help??

in reply to Re^3: Finding what args were passed to the perl interpretter ?
in thread Finding what args were passed to the perl interpretter ?

See my previous post: I was wanting the script to figure out if it was invoked using "-d:NYTProf". I like JavaFan's approach of checking if Devel::NYTProf->can("import") -- though obviously that's not ideal.

I was sort of hoping to answer the more general problem: some form of auto-populated $PERL5OPTS that I can use in much the same way as ${MAKE} in recursive makefiles. But the specific answer is good for now

Opinions my own; statements of fact may be in error.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://724770]
[LanX]: quick survey ... Module::Build, ExtUtils:: ModuleMaker or Module::Starter ?
[Your Mother]: Module::Install
[Your Mother]: :P
[LanX]: Moma knows best! ;-)
[Your Mother]: I am quite aware that Module::Build is MUCH more in favor with many monks but I had trouble with it every time I tried to use it and trouble with CPAN stuff that used it too.
[Your Mother]: Take my advice with a grain of salt. I haven't done a new CPAN release in years at this point.
[LanX]: I want to author a new module for CPAN w/o complicated build structure

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-08-18 17:37 GMT
Find Nodes?
    Voting Booth?
    Who is your favorite scientist and why?

    Results (306 votes). Check out past polls.