Perl 5.8 compatibility (don't use defined-or operator)