Cool/useful short examples of Perl?
Colin Campbell
colin.campbell at ptfs-europe.com
Thu Jun 9 15:38:44 BST 2011
On 09/06/11 11:52, David Cantrell wrote:
> On Wed, Jun 08, 2011 at 07:46:52AM +0200, Richard Foley wrote:
>> Even worse is:
>> unless ( !something ) { ...
>>
>> The brain just into tailspin goes.
>
> It's not just Germans' brains that melt. Double negatives are just
> confusing. Normal people hardly ever use them.
>
Judging from some of the code I've seen some folks (possibly with a bit
less programming experience) think its great to pile on the
unless ( !$something && !$something_else || $yet_something_else )
Simplicity is hard to learn...
--
Colin Campbell
Chief Software Engineer,
PTFS Europe Limited
Content Management and Library Solutions
+44 (0) 845 557 5634 (phone)
+44 (0) 7759 633626 (mobile)
colin.campbell at ptfs-europe.com
skype: colin_campbell2
http://www.ptfs-europe.com
More information about the london.pm
mailing list