Is it Monk-like to capture regex from map like the following:
my @online_services = map { /^online.*svc:(.*?):/ } `svcs`;
I started using this pattern quite a bit, but I am wondering if this is not desirable for some reason.
In reply to Capturing regex from map by trippledubs
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |