Then a mechanism for uplevel manipulation of variables should be used.

        uplevel 0, $Perl:Warnings=1;    # Hit everyone
        uplevel -1, $Perl:Warnings=0;   # Hit my wrapper

(I think something better was proposed, but I don't recall what it was.)

<chaim>

>>>>> "DS" == Dan Sugalski <[EMAIL PROTECTED]> writes:

DS> At 01:21 AM 8/6/00 -0400, Chaim Frenkel wrote:
>> And the global nature (of the name) abolished.

DS> I'm not entirely sure that tossing the global nature of these things is a 
DS> bad idea. It is kinda convenient to be able to mess with things (like $^W) 
DS> and have them stay messed-with. Tossing that makes some sense from a 
DS> stricture/no-action-at-a-distance standpoint, but having a quick & dirty 
DS> way to just *do* something is kinda perlish.


-- 
Chaim Frenkel                                        Nonlinear Knowledge, Inc.
[EMAIL PROTECTED]                                               +1-718-236-0183

Reply via email to