On Oct 27, 2007, at 11:47 AM, chromatic wrote:


I don't think you can override print.

        my $p = prototype 'CORE::print';
        print defined $p ? $p : 'unoverrideable';

Ahh. nuts. And thank you - I did not know about 'prototype'

We have an application that has 'print' strewn about all through the modules as some kind of super-crude logging system.

I suppose we need to bite the bullet and just find and replace all the calls to 'print' with something else.

-M

-------------------------------------------------------
Matisse Enzer <[EMAIL PROTECTED]>
http://www.matisse.net/  - http://www.eigenstate.net/



Reply via email to