Help for this page
my $posn = -1; my $same = 1; ... } print 'Prefix is "', substr($files[0], 0, $posn), '"';