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; } }
perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'