{ local *STDOUT; open STDOUT, '>/dev/null'; # do stuff that may print out. }