develooper Front page | perl.perl5.porters | Postings from March 2000

Re: beep R beep C beep 3

Thread Previous | Thread Next
From:
Gurusamy Sarathy
Date:
March 21, 2000 08:12
Subject:
Re: beep R beep C beep 3
Message ID:
200003211612.IAA02280@maul.ActiveState.com
On Tue, 21 Mar 2000 13:45:50 GMT, Nick Ing-Simmons wrote:
>That is because testcase does 
>
>eval { require Tk };
>ok($@, "", "loading Tk module");
>
>rather than use Tk.
>
>What is the new style warnings incantation to turn it off ?
>(But can I? - warnings are lexical and the INIT block is XS - so where 
>is its lexical scope ?)

Haven't tried this, but try:

  {
     no warnings;
     bootstrap Tk;
  }


Sarathy
gsar@ActiveState.com

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About