in reply to Substitution Operator

perl -pi.bak -e 'tr/j/p/' myfile

Read perlrun to learn everything there is to know about perl's command-line arguments, and perlop for the details about the transliteration operator tr

--bwana147