... print "$message1 \n" if( runtime cond); ... print "$message2 \n" if( runtime cond); ...