in reply to simple command-line question
You want to look at what the switches '-p' and '-i' do in the perlrun manpage - however you should bear in mind that the '*/*' part is a 'wildcard' that looks at the files in all of the subdirectores of the current directory - if you want to only operate on files in the current directory then you should have only '*'
/J\
|
|---|