This might help (will ignore empty lines if they exist):
push(@lines, \@line) if @line;In reply to Re: first elements in array, split join and sort problem
by fglock
in thread first elements in array, split join and sort problem
by alexiskb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |