Basically I am checking files on a host to make sure everything is there. So I am thinking, I will hardcode whatever files should be there into an array and compare that array to whatever is actually in that directory with 'ls'
I looked into grep but that doesn't seem to be the function I should use, right? The problem with that is it filters out what ISN'T there, but I need to know what items aren't there to create some type of report. Any advice?
--Update, so I ended up using List::Compare which was very simple and wonderbar.
Thanks for the advice everyone!