I really got bored and tired of trying to find or remember some codes usage in so many files saved on my system, when it was needed.
So, I called 'Monsieur' perl for help, hacking together some codes which works great for me and solve my problem of boredom.
You run the code from the CLI, like so: perl <perl_script.pl> <-l | -location> <-s | -search >
E.g. perl search_doc.pl -l Desktop/Doc_file -s Win32::OLE
- Your perl file : search_doc.pl
- Your location : -l Desktop/Doc_file or -location Desktop/Doc_file
- Your search string: -s Win32::OLE or -search Win32::OLE
You can decide to use
--search as you want.
Please feel free to add comments, to ask question and use as you want.