my @ary = map {/([^\/]+)\./; $1} @files;
UPDATE: as Limbic~Region said ; $1 is not required here
In reply to Re: Array values reformation by ccn in thread Array values reformation by Nik