Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: namespace::clean and "Unknown Error" (non-glob globals)

by tye (Sage)
on Feb 17, 2009 at 16:33 UTC ( #744473=note: print w/replies, xml ) Need Help??


in reply to namespace::clean and "Unknown Error"

5.10 broke just about any code written prior that looks into a package's namespace. That seems likely to be part of the problem here.

For the sake of saving memory, 5.10 causes code that expects (as has always been the case) for package symbol tables to only contain 'globs' to die with the fatal error "Not a glob reference at". This even broke the 5.10 debugger.

I think this optimization was included too cavalierly and it should become optional (an environment variable makes for an easy control mechanism) for 5.10.1.

- tye        

  • Comment on Re: namespace::clean and "Unknown Error" (non-glob globals)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://744473]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (11)
As of 2016-12-06 17:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (113 votes). Check out past polls.