Yes, you are quite correct. However my point wasn't to start up a new module war, just to point out how with a few smallish changes that are pretty much good programming practise anyway, that code can made cross-platform. I felt that saying someone should go and learn Yet Another Module would be a bit too much (does anyone else dread the task of reading through the docs for all modules related to a task, then trialling them all to see which ones work well?)
Update: chipmunk pointed out that '/' is not a directory separator for every good port - the Mac does things differently.
____________________
Jeremy
I didn't believe in evil until I dated it.