in reply to Command Parsing
Sommint like...?
local($,,$\) = (":","\n"); foreach (split /\n/, qx{ xgridstatus -h localhost -A }) { if (my @matches = / (\w+) \s* = \s* (\d+) /x) { print @matches; } } [download]