[Israel.pm] (no subject)

Sagiv Barhoom sagivba at 012.net.il
Thu Mar 16 15:59:17 PST 2006


thanks
readble code is much more importent to me so I use  split in such cases.
regards Sagiv

On Thursday 16/3/2006 23:24, Gabor Szabo wrote:
> On 3/16/06, Sagiv Barhoom <sagivba at 012.net.il> wrote:
> > On Thursday 16/3/2006 17:33, Gabor Szabo wrote:
> > > Why can't us stick $10 or better yet ${10} there ?
> >
> > Gabor, could you  please explain why ${10} is better then $10?
>
> Probably for perl it is the same but I, as programmer can see better
> that the writer really ment $10.
>
> But again I think this argument is moot as I don't think you really need 10
> capturing ()-s in any real life regex.
> Either use split or make the others non capturing by (?:)
>
> Gabor
>
> _______________________________________________
> Perl mailing list
> Perl at perl.org.il
> http://perl.org.il/mailman/listinfo/perl

-- 
שמיים כחולים אוויר צח
שגיב




More information about the Perl mailing list