in reply to
File::Path rmtree too fast for NFS....
just yesterday I came across the same problem and issuing a second rmtree command solved the problem by then removing the .nfs* files, too. Actually this feels rather nasty but since in my case it was just a quick'n'dirty script for a very small task that solution is fine for me. In a larger and more important project there should be a clean way to achieve this!
you begin bashing the string with a +42 regexp of confusion