[EP-tech] WARNING: Use of uninitialized value in subroutine
Stenger, Avischai
avischai.stenger at ulb.tu-darmstadt.de
Tue Oct 9 14:52:15 BST 2018
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
More information about the Eprints-tech
mailing list