On Tue, Jun 10, 2008 at 3:36 PM, Gabor Szabo <szabgab@gmail.com> wrote: > On Tue, Jun 10, 2008 at 10:21 PM, Eric Roode <eric.roode.phlpm@gmail.com> wrote: [...] >> I guess it does show the end-user of a module that the module author >> is smart enough not to shoot himself in the foot. The module author >> might be smart enough without strict.pm too, but how can one tell? >> I guess that's the CPANTS logic. > > What if I have to go and change something in your module? > I know I am not smart enough to work without the hand holding > of use strict and use warnings. Then you would add "use strict" and "use warnings" as part of your changes! :-) > So I can quickly break the module. Maybe I won't even notice but > someone who uses my version will start complaining. To you... > I might be a bit more clever and add use strict and use warnings before > I start changing your code. > But what if you used symbolic refs in some areas? > Now it won't compile and I have no clue in which area to disable strict. Then keep your grubby hands off my damn module! :-) -- EricThread Previous | Thread Next