./example.pl > /dev/null 2>&1
Sends stdout to /dev/null and then sends stderr to where ever stdout goes to.