Most perl operators or builtins that return a boolean return for false a value that is 0 in numeric context and "" in string context. You force it to be 0 either with ?:
(as shown by others) or just by giving it numeric context:
print "It is: ", 0+your_validate_function(), "!".