in reply to Is there a well known module or simple algorithm for applying a diff?
Well, my first idea would be to use system('patch'), if there's no way to do it within perl...
But you could also look here: CPAN search on patch
So long, Flexx