A lot of routines were defaulting to return -1 in error conditions
but calling code was expecting a ref or object
use return with explicit undef (or emptyness in array context)
for these cases. Extended this to cases where return was not tested
( -1 might in some cases be legit data).
Signed-off-by: Chris Nighswonger <cnighswonger@foundations.edu>
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| Batch.pm | ||
| Layout.pm | ||
| Lib.pm | ||
| PDF.pm | ||
| Profile.pm | ||
| Template.pm | ||