On 2004-03-16, Darin McBride <dmcbride-Xnnc33FDBKtg9hUCZPvPmw@xxxxxxxxxxxxxxxx>
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/cgiapp-svx1JCNWaqPWzzAP45jFb16hYfS7NtTn@xxxxxxxxxxxxxxxx/msg01018.html
>> http://www.mail-archive.com/cgiapp-svx1JCNWaqPWzzAP45jFb16hYfS7NtTn@xxxxxxxxxxxxxxxx/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/cgiapp-svx1JCNWaqPWzzAP45jFb16hYfS7NtTn@xxxxxxxxxxxxxxxx/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail:
cgiapp-unsubscribe-svx1JCNWaqPWzzAP45jFb16hYfS7NtTn@xxxxxxxxxxxxxxxx
For additional commands, e-mail:
cgiapp-help-svx1JCNWaqPWzzAP45jFb16hYfS7NtTn@xxxxxxxxxxxxxxxx
|
Try Searching:
servers, voip, java, networking, microsoft ...
|
|
|
|