in reply to m//g in list context

To get what you want, use:
$" = ", "; $string = "a:b:c"; @list = ($string =~ m/(?=(\w):(\w))/g); print "list=@list\n";
The lookahead operator will keep restarting where the previous match left off.

-- Randal L. Schwartz, Perl hacker