Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

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


Comment on Re^4: Finding what args were passed to the perl interpretter ?
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (14)
As of 2015-07-29 20:41 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 (268 votes), past polls