Cool/useful short examples of Perl?
Abigail
abigail at abigail.be
Wed Jun 8 08:31:19 BST 2011
On Wed, Jun 08, 2011 at 07:46:52AM +0200, Richard Foley wrote:
> I've found a lot of German programmers very uncomfortable with the "unless"
> keyword, (or maybe it's just c programmers). They appear to very often prefer
> to use a construct of the form:
>
> if ( !something ) { ...
>
> Even worse is:
>
> unless ( !something ) { ...
>
> The brain just into tailspin goes.
unless (!something) {
...
}
else {
... # Unless not something isn't true.
}
Abigail
More information about the london.pm
mailing list