http://www.perlmonks.org?node_id=11102812


in reply to Re^2: perl script to compare two directories
in thread perl script to compare two directories

I've pointed you to File::Spec before. Reinventing wheels gives you more code to maintain, more code to test, and more chances to introduce bugs.

I fully agree to use modules instead of re-inventing the wheel, poorly.

BUT: File::Spec is one of the modules that have a conceptual error, probably since the first version. See:

Even with that error, it is better than re-inventing the wheel.

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)