my ($matched) = "foo.bar.aaa" =~ /^(.*?)\./; [download]
In reply to Re: split...or better? by bruno in thread split...or better? by mikejones