http://www.perlmonks.org?node_id=685371


in reply to Re^2: Rogue Null (ordinate 0) characters in text files
in thread Rogue Null (ordinate 0) characters in text files

> as long as there are no periods, /\.*/ does split up individual characters just like //. No, it doesn't.
@c = split /\.+/, "abcdefg"; @d = split /\.+/, "ab.c.....defg";
results in @c having one element, "abcdefg", and @d having 3 elemnts, "ab", "c", and "defg".