Fix for old Perl

`//`(Defined-or operator) was introduced at Perl 5.10.