On 2004-03-16, Darin McBride <suppressed> wrote:
> On March 16, 2004 1:04 pm, Erik Milosevic wrote:
>> prerun_mode generates a warning whenever it is used to switch a mode in
>> the cgiapp_prerun hook. This came up before, in the following messages:
>>
>> http://www.mail-archive.com/suppressed/msg01018.html
>> http://www.mail-archive.com/suppressed/msg01019.html
>>
>> The newest version (3.22) still generates this warning. Is there a reason
>> this behavior is still there? It doesn't seem useful to me, but I may be
>> missing something.
>>
>> If it just hasn't been gotten around to, I could submit a quick patch.
>
> As long as you're looking at patches, remove the other $^W use, too,
> for autoloads, for exactly the same reason. It's a documented method
> of doing something, it shouldn't generate warnings.
I don't like these either. I'll plan to patch CGI::App for these myself.
Documented functionality shouldn't produce warnings, IMO.
Mark
--
http://mark.stosberg.com/
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.