Using grep on undefined array
Eduardo Marques
eduardo.marques at outlook.com
Wed Aug 14 18:38:04 BST 2013
> Date: Wed, 14 Aug 2013 19:03:34 +0200
> From: abigail at abigail.be
> To: london.pm at london.pm.org
> Subject: Re: Using grep on undefined array
>
> On Wed, Aug 14, 2013 at 12:35:19PM -0400, Avishalom Shalit wrote:
> > wait, aren't $a and $b special ?
> > (they magically live for {$a<=>$b} etc. )
>
>
> They are only special in special cases. Outside of that, they are as
> friendly as your other variable.
>
> People who pipe up upon seeing some code that uses $a and $b for
> illustrative purposes, predicting hell and doom even if there's no sort
> in that code behave like mindless grasshoppers, incapable of thinking for
> themselves. They probably also argue one shouldn't take water with you
> in a desert, because more people drown in water than in any other liquid.
>
>
>
> Abigail
What about the strict pragma being perfectly fine with you using them without declaring?
Eduardo Marques
More information about the london.pm
mailing list