develooper Front page | perl.bootstrap | Postings from July 2000

Re: Complex Problems vs. Simple Tools

From:
Peter Scott
Date:
July 24, 2000 19:09
Subject:
Re: Complex Problems vs. Simple Tools
Message ID:
4.3.2.7.2.20000724185541.00ae38a0@psdt.com
At 07:53 PM 7/24/00 -0600, Tom Christiansen wrote:
> >By way of further inflammatory suggestions, I would like the (less)
> >strictness levels to be install-time options, so that sites can make
> >policies for their developers that prohibit some or all strictness being
> >turned off in their perl.
>
>So again we're back to understanding how will scripts developed at
>one site run properly at another one where the environment is so
>radically different.

I don't think this is the same, nor a problem in this case.  If someone 
sends me a script and when I run it, it produces:

"no strict 'cruft'" prohibited by site policy at blarch line 3

         The program you are attempting to run tried to disable one
         or more levels of strictness (presumably out of some false
         sense of laziness, who knows), but your site administrator
         has specifically prohibited this type of corner-cutting
         (presumably out of some desire for consistency, who knows).

then I know exactly why it doesn't run, and that I can either blame the 
author for writing to a loose standard, or my sysadmin for requiring a 
tight one.  Either way, it allows sites that want to enforce certain coding 
standards to do so, and I think many would.  Would *I* want to use a perl 
that had been restricted in that way?  That's not the point.


--
Peter Scott
Pacific Systems Design Technologies




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About