On Fri, 21 Mar 2003, Jeremy Mates wrote:
> * Thane Williams <thane at fastmail.fm>
> > $string = "a,b,c,d,e,f,";
> > @array = split /,/, $string;
>
> @array = split /(,)/, $string;
That would capture the commas, but as separate elements in the list.
--
::jimfl
http://jimfl.tensegrity.net
mailto:jimfl%40t%65ns%65gr%69ty.n%65t