Of course, Tie::File is totally useless here. You can usemy @lines = map { /:\s*(.*)/ ? $1 : () } @array;
my @lines = map { /:\s*(.*)/ ? $1 : () } <$fh>;
In reply to Re: Can I Postmatch an array element?
by ikegami
in thread Can I Postmatch an array element?
by softserve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |