Your print isn't conditional so it will always print out. I think you want to change it to something like print $out $_ unless $block;
In reply to Re: Deleting lines from named.conf file
by eric256
in thread Deleting lines from named.conf file
by firewall00
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |