On Wed, Apr 10, 2013 at 06:48:23AM -0300, Brian Fraser wrote: > Another objection, I don't think either of these should fail: > > $ ./perl -e '%:: = %::' > Attempt to clear the %main:: symbol table at -e line 1. > > $ ./perl -e '%:: = map { $_ => $::{$_} } grep !/foo|bar/, keys %::;' > Attempt to clear the %main:: symbol table at -e line 1. Given how hash list assignment is implemented, it's hard to see how to permit those to keep working whilst also adding a way to prevent clearing %:: I can see that they are reduced test cases, but what's the real world use case that they represent? Nicholas ClarkThread Previous | Thread Next