You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Doug MacEachern <do...@covalent.net> on 2002/07/01 00:45:25 UTC
Re: compat: warnings and tighter Apache->module emulation
On Thu, 27 Jun 2002, Stas Bekman wrote:
> any reason for not enabling warnings in compat? I've been burned on this
> one, when calling Apache::module() instead of Apache->module() and it
> was happily passing undef, making it '', and Apache::Module::loaded was
> happily returning 1.
+1
tho would prefer a simpler usage error like the xs modules do:
die 'Usage: Apache->module($name)' if @_ != 2;
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org