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

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

Thread Previous | Thread Next
April 1, 2010 02:01
RE: [perl #73906] Surprise with my $p = shift if @_;
Message ID:
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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About