We'll be removing the external package from Catalyst in the release after the 
next one, so if you are not using regexp actions and don't manually add the 
package the problem will go away in a bit.  However I think adding an %ENV to 
surpress is fine.  

Here's the repo on Github:

https://github.com/mvgrimes/catalyst-dispatch-regex


I am sure the author would be happy to get a patch for this and to fix any 
spelling issues.

I think one line of "return if 
$ENV{CATALYST_SURPRESS_REGEXP_DEPRECATE_WARNING}" in the following file would 
do it:

https://github.com/mvgrimes/catalyst-dispatch-regex/blob/master/lib/Catalyst/DispatchType/Regex.pm#L199


Just send the author a pull request.  I don't have time to do it myself but I 
can mentor someone if they have trouble figuring out how to get on github and 
do the fork, pull request, etc.

John




>________________________________
> From: Bill Moseley <[email protected]>
>To: The elegant MVC web framework <[email protected]> 
>Sent: Friday, May 24, 2013 2:32 PM
>Subject: Re: [Catalyst] /Depreci?ate/ message
> 
>
>
>Could this message be disabled by environment variable or config?   Besides 
>ending up in logs, we have tests that are failing because of it.   Our tests 
>trap all warnings and will fail on unaccounted for warnings.   
>
>
>Thanks,
>
>
>
>
>
>
>On Thu, May 23, 2013 at 3:16 PM, John Napiorkowski <[email protected]> wrote:
>
>speeling error noted! thanks!  -john
>>
>>
>>----- Original Message -----
>>> From: Toby Corkindale <[email protected]>
>>> To: The elegant MVC web framework <[email protected]>
>>> Cc: 
>>> Sent: Wednesday, May 22, 2013 1:52 AM
>>> Subject: [Catalyst] /Depreci?ate/ message
>>> 
>>> I noticed that the recent Catalyst release has added a Depreciation
>>> warning to the Regex class.
>>> Are you sure you meant depreciate? I think old features are normally 
>>> deprecated.
>>> 
>>> Cheers,
>>> Toby
>>> 
>>> --
>>> Turning and turning in the widening gyre
>>> The falcon cannot hear the falconer
>>> Things fall apart; the center cannot hold
>>> Mere anarchy is loosed upon the world
>>> 
>>>
 _______________________________________________
>>> List: [email protected]
>>> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>>> Searchable archive: http://www.mail-archive.com/[email protected]/
>>> Dev site: http://dev.catalyst.perl.org/
>>> 
>>_______________________________________________
>>List: [email protected]
>>Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>>Searchable archive: http://www.mail-archive.com/[email protected]/
>>Dev site: http://dev.catalyst.perl.org/
>>
>>
>
>
>
>-- 
>Bill Moseley
>[email protected] 
>_______________________________________________
>List: [email protected]
>Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
>Searchable archive: http://www.mail-archive.com/[email protected]/
>Dev site: http://dev.catalyst.perl.org/
>
>
>
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to