develooper Front page | perl.perl6.language | Postings from July 2010

Re: Unwanted warnings (was Re: Something wrong with str.reverse)

Thread Previous
From:
Brandon S Allbery KF8NH
Date:
July 31, 2010 21:27
Subject:
Re: Unwanted warnings (was Re: Something wrong with str.reverse)
Message ID:
4C54F7AB.6060200@ece.cmu.edu
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7/31/10 23:26 , David Green wrote:
> On 2010-06-18, at 10:48 am, Larry Wall wrote:
>>    0123;		# warns
>>    0123; # ok!		# suppresses this warning here
>>    0123; # OK!		# suppresses this warning from now on
>>
>> Though I'm hesitant to use comment syntax for that.  A statement prefix might be more appropriate.  We've currently reserved "quietly" for simple run-time warning suppression, but that's kinda long, and not defined for compile-time warnings yet.  Admittedly, it would be rather amusing to have to shout at Perl 6 to make it shut up:
>>     my $x = QUIETLY 0123;
> 
> Call it "sh"?  (for "suppression handler", of course)

I am amusedly imagining borrowing PLEASE from Intercal. :)

- -- 
brandon s. allbery     [linux,solaris,freebsd,perl]      allbery@kf8nh.com
system administrator  [openafs,heimdal,too many hats]  allbery@ece.cmu.edu
electrical and computer engineering, carnegie mellon university      KF8NH
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxU96sACgkQIn7hlCsL25XZ3QCdHjdXi9XgbyxGsOeqM6rzoK6p
kzsAoKlbd+CgLIfNhTpzcqP99nTIkKsh
=ZHRo
-----END PGP SIGNATURE-----

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