[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] WARNING: Use of uninitialized value in subroutine



hello all,


just a notice: in an existing repository that i got ?as is? i noticed lots of warning while calling, (for example)  bin/generate_abstracts REPOSITORY-NAME eprintid


WARNING: Use of uninitialized value in subroutine entry at /usr/share/eprints/bin/../perl_lib/EPrints/MetaField/Id.pm line 50

CODE in ID.pm:

48       if( $session->{database}->{dbh}->{Driver}->{Name} eq "mysql" )
49        {
50                utf8::decode( $row->[0] );
51        }


if the  ?if- statement? exclude an undef/empty $row->[0] this will not appear.


Enjoy the Day

Avi






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20181009/85b058d7/attachment.html