in reply to Splitting on a pattern once

Alternative:
my ($name, $val) = split /:\s*/; my @val = split /:/, $val;
Then just check $vals[1]. The advantage is that you can also check if you're looking at the right field (by checking $name