in reply to redirect output
perl test.pl | grep 'Processing going on' [download]
Something along these lines?