in reply to Re: shorter 1 liner way of doing this
in thread shorter 1 liner way of doing this
clearly not working :Dmap($_=~/xxx/g ? push(@m,$i) : $i++) for(@array); print @m;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: shorter 1 liner way of doing this
by LanX (Saint) on Dec 27, 2015 at 22:15 UTC | |
|
Re^3: shorter 1 liner way of doing this
by fishmonger (Chaplain) on Dec 27, 2015 at 21:47 UTC |