Perl's lack of 'in' keyword

Peter Corlett abuse at cabal.org.uk
Thu Oct 9 10:12:27 BST 2008


On Thu, Oct 09, 2008 at 12:59:37AM +0100, Paul LeoNerd Evans wrote:
[...]
> I suppose this is a little unfair, since my brain is sortof wired to
> understand perl and English. Perhaps a better comparison may be
>   my $foo = $a + $b[5];
> and
>   add scalar a to the fifth element of array b and assign to new scalar
>     foo

The latter might be useful when explaining a facet of the language, but once
you get real code, pages of it will make you want to spork your eyes out.

If you don't believe me, read this:

www.foo.be/docs/tpj/issues/vol5_3/tpj0503-0013.html



More information about the london.pm mailing list