That's a very simple change. Have a read through perlre and see if you can work it out.
🦛
In reply to Re^13: To read files from two dir by hippo in thread To read files from two dir by pragovnj