in reply to Re^3: Deleting lines from named.conf file
in thread Deleting lines from named.conf file

s!^!// ! if $comment or $block;

What does that do? (I know it's untested code, but still...)

Replies are listed 'Best First'.
Re^5: Deleting lines from named.conf file
by shmem (Chancellor) on Nov 10, 2007 at 22:44 UTC
    It comments out the current line. In the context of deleting lines, it's superfluous - a leftover of the original code.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}