#! perl use strict; use warnings; use Data::Dump; $/ = undef; my $x = ; my @y = $x =~ / CentOs \s+ ( \d+ (?: \. \d+)? ) /mgix; dd \@y; __DATA__ data This is CentOs 6.5 version and CentOs 5.5 is not supported. The CentOS 6 has ability for LVM Snap backups where as CentOs 5.5 doesn't. #### 12:30 >perl 1117_SoPW.pl [6.5, 5.5, 6, 5.5] 12:30 >