On Thu, 22 Jan 2004 07:16:11 -0000, Pense, Joachim wrote:

>So I'd rather write $VERBOSE and $STOP_ON_ERROR, living with the minor
>risk that I might inadvertently change the values.

You can reduce the risk by making them pseudo-constants (globals only):

        *VERBOSE = \1;
        print $VERBOSE;

That takes the "inadvertently" away, a normal assignment or modification
will now complain. 

        $VERBOSE++;
-->
        Modification of a read-only value attempted at ...


Of course, you can still change the value in the same way as you
originally set it.

-- 
        Bart.

Reply via email to