Craig A. Berry [Sat, 5 May 2007 23:44:01 +0000 (23:44 +0000)]
p4raw-id: //depot/perl@31157
}
unless (exists $data{provides}) {
- $data{provides} = ($file =~ /(\w+)$/)[0];
+ $data{provides} = ($file =~ /(\w+)\.?$/)[0];
}
$data{provides} = [$data{provides} =~ /(\S+)/g];