my @data = grep { /^\S+;/ } <FILEHANDLE>;
Then the lines you want are in @data.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
In reply to Re^3: deleting special lines from files
by davorg
in thread deleting special lines from files
by theroninwins
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |