while (<INFILE>) { next if /^#/; # or next if substr($_,0,1) eq '#'; $content .= $_; };
In reply to Re: How do I strip lines prefixed by a
by runrig
in thread How do I strip lines prefixed by a "#"
by Coplan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |