Help for this page
if ( <STDIN> ) { print "Got STDIN.\n"; ... print "Default behavior.\n"; # Go connect to the IMAP server and feed there. }