develooper Front page | perl.perl5.porters | Postings from June 2008

Re: autodie.pm design questions

Thread Previous | Thread Next
From:
Abigail
Date:
June 3, 2008 09:47
Subject:
Re: autodie.pm design questions
Message ID:
20080603164729.GD3946@abigail.be
On Tue, Jun 03, 2008 at 07:17:28AM +1000, Paul Fenwick wrote:
> 
> I'd still really love feedback on my thoughts posted in my design questions 
> e-mail[1], specifically:
> 
> 	* What should a plain 'no autodie' mean?

You mean "no autodie" without a preceding "use autodie"? Anything but 
an effective no-op would surprise me. Plain "no strict;" or "no warnings;"
don't do anything either, and that doesn't seem to be a problem.

> 	* Should we say "damn exotic system for this package" and
> 	  allow autodie to fatalise system()?

If I were to use 'autodie', I would like it to fatalise system() as well.
Will autodie have to option to cherry pick which functions are fatal, just
like Fatal does? In that case, the few people that use exotic system() and
still want to use autodie could always opt to do

    {
        no autodie 'system';
        system {...} whatever;
    }



Abigail

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