[EP-tech] Re: error -> Use of uninitialized value $match

Centro de Documentación cendocu at gmail.com
Tue Mar 11 14:12:06 GMT 2014


Well, after some days, I was able to solve this problem. It was a
compatibility issue between perl 5.10 and 5.14.

/eprints3/perl_lib/IRStats/Update/Filter/SearchParser.pm

sub uncompile_regex
{
    my( $re ) = @_;
    $re =~ /\(\?[-^\w]*:(.*)\)/; # Works with all perl
    # $re =~ /\(\?[-\w]*:(.*)\)/; < perl 5.14
    return $1;
}

Cristian

On Thu, Feb 27, 2014 at 11:17 AM, Centro de Documentación
<cendocu at gmail.com> wrote:
> Hi,
>
> Does someone knows what this error means?
>
> Use of uninitialized value $match in hash element at
> /usr/share/eprints3/perl_lib/IRStats/Update/Filter/SearchParser.pm
> line 73
>
> This message appears when I run update_table.
>
> I'm losing "search engines" stats.
>
> Regards,
>
> Cristian



More information about the Eprints-tech mailing list