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

Re: design questions

Thread Previous | Thread Next
June 3, 2008 09:47
Re: design questions
Message ID:
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;


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About