in reply to RE: RE: RE: Re: Regex reset problem?
in thread Regex reset problem?

Thanks Aighearach! I don't see why I'm voted down for saying that some people don't want to use some optional feature and that it's okay to choose that if they want to. My point was just that "even if it's right, just saying so without explaining it does little good". I guess I'm a crackpot who deserves all the -- votes coming my way but I can't help but think an increased dose of tolerance for different practices or experience levels in the Monastery would do us all good. Shalom.


p.s. Initiate Nail Removal Immediately!
  • Comment on RE: RE: RE: RE: Re: Regex reset problem?

Replies are listed 'Best First'.
RE: RE: RE: RE: RE: Re: Regex reset problem?
by davorg (Chancellor) on Jul 10, 2000 at 12:34 UTC

    use strict and -w (use warnings) are optional (although Larry has been quoted as saying that this is a bug in Perl!) You are, of course, quite at liberty to to use or not use these as you feel appropriate.

    The problem comes when someone not using these aids finds a bug in their script. They then post non-strict code here (or on comp.lang.perl.misc) and ask for help when in many cases just adding use strict or -w to their script would help them find the bug far faster on their own.

    In summary - don't use these tools if you don't want to, but if you're going to ask other people for help, it's only polite to ensure that your script is 'strict-clean'.


    European Perl Conference - Sept 22/24 2000, ICA, London