[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] Custom SearchOP


Jon Jensen <suppressed> 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
 _/ _/    _/          _/ _/     _/    _/  _/_/    suppressed
_/   _/  _/_/_/_/      _/    _/_/_/  _/    _/
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.