LibreCat / Catmandu-BagIt

Catmandu module for working with BagIt packages
Other
1 stars 1 forks source link

Use of uninitialized value $n #11

Closed phochste closed 5 years ago

phochste commented 5 years ago

When no output is written (e.g. the IO is connected to /dev/null) the BagIt complains about unitialized values.

Use of uninitialized value $n in addition (+) at /opt/librecat/local/lib/perl5/Catmandu/Store/File/Simple/Bag.pm line 111.
Use of uninitialized value $n in numeric ne (!=) at /opt/librecat/local/lib/perl5/Catmandu/Store/File/Simple/Bag.pm line 104.
Use of uninitialized value $n in addition (+) at /opt/librecat/local/lib/perl5/Catmandu/Store/File/Simple/Bag.pm line 111.
Use of uninitialized value $n in numeric ne (!=) at /opt/librecat/local/lib/perl5/Catmandu/Store/File/Simple/Bag.pm line 104.
Use of uninitialized value $n in addition (+) at /opt/librecat/local/lib/perl5/Catmandu/Store/File/Simple/Bag.pm line 111.
phochste commented 5 years ago

Move to https://github.com/LibreCat/Catmandu-FileStore/issues/8