develooper Front page | perl.perl5.porters | Postings from October 2009

Re: [perl #70043] Re: [Sysadmins] Perl allows non-sensical operationson reference converted to an integer

Thread Previous | Thread Next
From:
John
Date:
October 27, 2009 12:12
Subject:
Re: [perl #70043] Re: [Sysadmins] Perl allows non-sensical operationson reference converted to an integer
Message ID:
4AE745E6.2010207@vodafoneemail.co.uk
Aristotle Pagaltzis wrote:
> It would be much less painful if you could at least optionally
> enable a fatal error for implicit ref conversions, for debugging
> purposes. That would immediately tell you the “where” half of the
> problem, instead of leaving you to painstakingly hunt for it.
> Throw a Carp::Always in there and you probably have most of the
> data you need to figure out the “why”.
>
> Regards,
>   

In which case somthing like use warnings FATAL => qw(refconv); would be 
more appropriate.

______________________________________________        
This email has been scanned by Netintelligence        
http://www.netintelligence.com/email


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