Perl best practices
Paul Lussier
p.lussier at comcast.net
Fri Sep 14 10:22:47 EDT 2007
kevin_d_clark at comcast.net (Kevin D. Clark) writes:
> Bill Ricker writes:
>
>> I highly recommend Damian Conway's book of same title, "Perl Best
>> Practices", which recommends a much tamer, consistent readable style
>> within a workgroup than he uses in his own code (depending on context)
>> -- he suggests one style but encourages each group to decide for
>> themselves and take his list of 255 practices as a template for their
>> own local standard.
>
> I will second this. Great book by a great author.
Ahm, fellas, we've got a fence-post error here :)
This response to Ben is what started all it all:
Paul Lussier <p.lussier at comcast.net> writes:
> "Ben Scott" <dragonhawk at gmail.com> writes:
>
>> You don't need to put parenthesis around arguments to split, and you
>> don't need to explicitly specify the default pattern match target
>> ($_).
>
> Unfortunately, you both "don't *need* to" and "*can* do" anything in
> perl. Often at the same time! This is what leads to very difficult
> to read, and more difficult to maintain perl code.
[...]
> I highly recommend Damian Conway's book "Perl Best Practices", which
> outlines these and many other useful pieces of advice.
So, Kevin is really thirding ;)
--
Seeya,
Paul
More information about the gnhlug-discuss
mailing list