egrep -n 'eval|format' your_script.pl #### perl -ne 'print "$. $_" if (/eval|format/)' your_script.pl