http://qs321.pair.com?node_id=1053968


in reply to Capturing regex from map

Try:

my @online_services = map { /^online.*svc:(.*?):/; $1 } `svcs`;

What can be asserted without proof can be dismissed without proof. - Christopher Hitchens, 1949-2011