>What would be the best way to determine this programmatically ??? Use the File::Spec series of modules, which are available with perl 5:
http://search.cpan.org/search?mode=module&query=File%3A%3ASpec -- Morbus Iff ( i'm the droid you're looking for ) Culture: http://www.disobey.com/ and http://www.gamegrene.com/ Tech: http://www.oreillynet.com/pub/au/779 - articles and weblog icq: 2927491 / aim: akaMorbus / yahoo: morbus_iff / jabber.org: morbus