in reply to find strings in multiple files, then move files to folders that match string name
... I know almost nothing about perl.
perlintro might be a helpful read if you haven't studied it already. See also the Tutorials section of the Monastery.
Give a man a fish: <%-{-{-{-<
|
|---|