You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@vcl.apache.org by "Andy Kurth (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/08 21:09:57 UTC

[jira] [Resolved] (VCL-56) Add '-no_match_vars' to 'use English' in utils.pm

     [ https://issues.apache.org/jira/browse/VCL-56?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Kurth resolved VCL-56.
---------------------------

    Resolution: Fixed
    
> Add '-no_match_vars' to 'use English' in utils.pm
> -------------------------------------------------
>
>                 Key: VCL-56
>                 URL: https://issues.apache.org/jira/browse/VCL-56
>             Project: VCL
>          Issue Type: Improvement
>          Components: vcld (backend)
>            Reporter: Andy Kurth
>            Priority: Trivial
>
> utils.pm has a 'use English' call but doesn't specify -no_match_vars.  I came across this in the English module doc:
> This module can provoke sizeable inefficiencies for regular expressions, due to unfortunate implementation details. If performance matters in your application and you don't need $PREMATCH, $MATCH, or $POSTMATCH, try doing
> use English qw( -no_match_vars ) ;. It is especially important to do this in modules to avoid penalizing all applications which use them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira