Dave Mitchell <[EMAIL PROTECTED]> writes: > >1. It would be very hard to create these options. >2. Any programmer that used an 'only these' option would almost >certainly create a program that at best would not work, and at worst would >coredump. Whats happens if the user forgot to copy $/ ? What does Perl do >the next time it tries to read from a file and wants to know the current >line delineator? > >Then there's stuff like stashes - %main:: is a hash that indirectly >references just about every object in the perl interpreter. Does the >programmer have to remember to exclude that? > >You are suggesting opening up a can of worms which I have no great desire >to see opened.
Much as I philosophically like Eric's idea this does indeed look too messy for perl5. Lets see if perl6 can or has already fixed this. > >Dave.