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

Re: beep R beep C beep 3

Thread Previous | Thread Next
Gurusamy Sarathy
March 21, 2000 08:12
Re: beep R beep C beep 3
Message ID:
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;


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About