in reply to Regular Expression

my @result = map /^COM USAGE .* (\d+)$/, <>;
Understanding how it works is left as an exercise for the user.