http://qs321.pair.com?node_id=172519


in reply to (MeowChow) Re: split
in thread Getting server share and path from a Microsoft UNC

If you use File::Spec->splitpath, it returns server, path, and filename so you will need to have a third variable for a filename. It will also include the first directory with the server part. Not a big issues, but a couple possible gotchas.