Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: How do I tell if strict, taint, etc are on?

by barrachois (Pilgrim)
on Mar 16, 2006 at 20:01 UTC ( #537265=note: print w/replies, xml ) Need Help??

in reply to Re: How do I tell if strict, taint, etc are on?
in thread How do I tell if strict, taint, etc are on?

Yeah, I see $^H, thanks, but since the docs say explicitly "WARNING: This variable is strictly for internal use only", it doesn't sound exactly like a supported API. :)

As to why, well, I'm working on a diagnostic/debugging page for some mod_perl web stuff, that shows me the environment, database handles, process status, and so on. As part of that, I wanted it to report as much as it could about the state of the running perl environment - including the various pragmas and what-not.

  • Comment on Re^2: How do I tell if strict, taint, etc are on?

Replies are listed 'Best First'.
Re^3: How do I tell if strict, taint, etc are on?
by Fletch (Chancellor) on Mar 16, 2006 at 20:12 UTC

    Ahh. OK I can see that. :)

    A problem that comes to mind right off is that strict is lexically scoped so you're probably not going to be able to tell from outside a given scope if it's on or off inside, at least as far as I can think of. You might be able to do some deep magic with one of the B modules, but I wouldn't count on it. If no one else here comes up with anything you might run this by p5p and see if anyone there can offer pointers.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://537265]
talexb admires the shimmering pool after an enjoyable hour-long All Hands meeting spent listening with one ear and reading Perlmonks with the other .. ear.
[talexb]: Used all my votes during that meeting .. been a while since I've done that. Now, back to work. Good localtime, monks!
[Corion]: talexb: You enjoyed the All Hands meeting in the pool?!
[Corion]: I understand "surfing" in the pool ;)
[talexb]: Corion I admired the pool .. I wasn't .. soaking in it. ;)
[talexb]: Plus, I've been awy from PM for about three weeks .. needed a bit of catch-up time.

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (14)
As of 2017-07-20 15:14 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (304 votes). Check out past polls.