[ic] Custom SearchOP
Kevin Walsh
kevin at cursor.biz
Tue Sep 11 03:28:34 EDT 2007
Jon Jensen <jon at endpoint.com> wrote:
> On Mon, 10 Sep 2007, Paul Jordan wrote:
> > Obviously /,/, looks odd to me as one comma is for the split command
> > itself, not the regex but I did not know the // was expected.
>
> Ah, I see what you were thinking. I know some people write it like this:
>
> split /,/ => $something
>
> ... thinking that doesn't hurt the eyes as much. Either seems ok to me,
> though /,/, does look weird at first.
>
I have to be the odd one out, so I tend to write it like this:
split(',', $something);
--
_/ _/ _/_/_/_/ _/ _/ _/_/_/ _/ _/
_/_/_/ _/_/ _/ _/ _/ _/_/ _/ K e v i n W a l s h
_/ _/ _/ _/ _/ _/ _/ _/_/ kevin at cursor.biz
_/ _/ _/_/_/_/ _/ _/_/_/ _/ _/
More information about the interchange-users
mailing list