develooper Front page | perl.perl5.porters | Postings from April 2010

RE: [perl #73906] Surprise with my $p = shift if @_;

Thread Previous | Thread Next
From:
steffen.zahn
Date:
April 1, 2010 02:01
Subject:
RE: [perl #73906] Surprise with my $p = shift if @_;
Message ID:
84AF44A69FF1EA49B3FBCE80F88633E23F1A94@DEMUEXC035.nsn-intra.net
OK, but still the warnings-system of perl could be enhanced to allow
people, who wish to do so, to remove all constructs of undefined
behaviour from their perl scripts. Thats a question of risk management,
for me at least. For example there could be 
 
use warnings qw( undefined_behaviour );
 
As it is the use warnings "all" turns on any optional warning, and many
people use it, and this prevents you from introducing additional
warnings about problems that some people now rely on. On the other hand
perlsyn.pod already has the disclaimer that future versions of perl
might do it differently.

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