update: grep {! (1 ... /^(?!#)/) } @input; is better though it looks like swearingmy @input = <FILE> ; my @body = grep {! (1 ... /^[^#]/) } @input; print "$special_cvs_header @body";
In reply to Re: Head comments parsing
by andye
in thread Head comments parsing
by toadi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |