On Fri, 2002-04-05 at 13:46, bob ackerman wrote: > or, to continue to discussion: > @s = $string =~ /,/g; > print scalar @s,"\n"; > > i don't know how to get count directly assigned to variable. someone? > <snip />
I believe it is as simple as: $count = () = $string =~ /,/g; -- Today is Setting Orange the 22nd day of Discord in the YOLD 3168 Fnord. Missile Address: 33:48:3.521N 84:23:34.786W -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]