in reply to Simple array checking?

Well, first of all, you have an unmatched curly in there.
Second, you can't get that error from the code that you posted ($modifiedFiles is a hash ref, not an array ref). What is on line 163 in your script?

--perlplexer