in reply to For your entertainment (or mourning... depending on how you look at it)
Ugh, didn't the code author know about the caller()
function? You don't need to pass all that crap into the
function when you can extract it from the call stack.
I think my favorite part is when they don't check return
calls from chdir, but check the return from 'pwd' by using eq
on two lists. Man, that's hilarious. Heaven only knows
what directory the outside code thinks you'll be in afterwards.
Could someone slap these guys with the -d, -w, and -r test flags?