![]() |
|
more useful options | |
PerlMonks |
Re: Capturing regex from mapby thezip (Vicar) |
on Sep 13, 2013 at 17:02 UTC ( #1053968=note: print w/replies, xml ) | Need Help?? |
Try: my @online_services = map { /^online.*svc:(.*?):/; $1 } `svcs`;What can be asserted without proof can be dismissed without proof. - Christopher Hitchens, 1949-2011
In Section
Seekers of Perl Wisdom
|
|