EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #07515


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[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