DivinumOfficium / divinum-officium

The Divinum Officium Project: Traditional Roman Missal and Breviary Texts
http://www.divinumofficium.com/
317 stars 198 forks source link

code: replace `undef` with proper values, #4165

Closed mbab closed 1 week ago

mbab commented 1 week ago

this is proper solution for warnings from FileIO resolved in (reverted here) d06bccd6d1 & 255bc14cb5

+AMDG+

fiapps commented 1 week ago

@mbab this still hasn't fixed all the errors. Running locally, the URL http://localhost:8000//cgi-bin/horas/Pofficium.pl?date1=04-21-2024&command=prayLaudes&version=Rubrics%201960%20-%201960&testmode=regular&lang2=English&votive= produces the following errors:

[Thu Nov  7 18:34:10 2024] Pofficium.pl: Use of uninitialized value $_ in substitution (s///) at /Users/jlm/Code/git-divinum-officium/repo/web/cgi-bin/horas/../DivinumOfficium/FileIO.pm line 26.
[Thu Nov  7 18:34:10 2024] Pofficium.pl: Use of uninitialized value $_ in split at /Users/jlm/Code/git-divinum-officium/repo/web/cgi-bin/horas/../DivinumOfficium/FileIO.pm line 27.