my $object = new Thingy; print $log "It works!\n" if $object->is_valid();