in reply to Suppressing "Constant Subroutine Redeifined" Error

localize the typeglob. Otherwise, use the warnings pragma to disable redefined warnings.

Replies are listed 'Best First'.
Re: Re: Suppressing "Constant Subroutine Redeifined" Error
by hardburn (Abbot) on Nov 21, 2003 at 19:49 UTC

    Thanks. no warnings 'redefine'; does the job.

    ----
    I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
    -- Schemer

    : () { :|:& };:

    Note: All code is untested, unless otherwise stated