On 7/1/2012 11:42 PM, David Mertens wrote:
Hmm, I have mixed feelings about a warning. In particular, the "proper" way to handle warnings is to tap into Perl's lexical warnings system, but that would require a minimum Perl version of 5.10. As it is, though, we don't really have a well developed PDL warnings system. Throwing a warning might make sense, but in that case, you should file a feature request that we finally develop a full PDL warnings system.
Adding integrated PDL warning support would help a lot with PDL usability. Imagine: - niceslice errors reported as niceslice errors - "spell check" in REPL/pdl2/Padre environments [missing sub errors result in completion and suggestions for correction...] - more helpful error messages specific to PDL (like use PDL::diagnostics) ... -Chris _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
