Perl's lack of 'in' keyword

Philippe Bruhat (BooK) philippe.bruhat at free.fr
Thu Oct 9 08:24:35 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
> 

You mean sixth. :-)

-- 
 Philippe Bruhat (BooK)

 When you do not think for yourself, no one thinks for you...
                                    (Moral from Groo The Wanderer #61 (Epic))


More information about the london.pm mailing list