File::Spec is hard to use.
Even worse, it is broken.
Alexander
In reply to Re^3: split a path/filename by afoken in thread split a path/filename by akrrs7