in reply to redirect output

perl test.pl | grep 'Processing going on'

Something along these lines?