develooper Front page | perl.perl6.language | Postings from April 2005

Re: turning off warnings for a function's params?

Thread Previous
From:
Juerd
Date:
April 25, 2005 10:10
Subject:
Re: turning off warnings for a function's params?
Message ID:
20050425171049.GJ26732@c4.convolution.nl
David Storrs skribis 2005-04-25 10:00 (-0700):
> Cool.  But that seems to turn off all warnings during the compilation
> of the expression--I only want to get rid of the (expected)
> 'uninitialized' warning.  Will there be a way to do finer-grained
> control? 

    compile("no warnings :undef; $expr").


Juerd
-- 
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html 
http://convolution.nl/gajigu_juerd_n.html

Thread Previous


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