Previous solutions have suggested redirecting STDOUT, which would work, but consider using the built in one-argument select statement:
in reply to A Strange print() predicament.
The select statement will change the default filehandle for all manner of things, including $| and print. It also means that if a called module does something like:
$oldFH = select(NOTHING);
print "Won't Print\n";
print "Will Print\n";
... then it will print. However I'd be surprised if any module actually does this. It also gives you an 'out' if you want to force something to print while you have the select redirected.
print STDOUT "This will print";