in reply to Re: Stripping parts of paths from directory namesin thread Stripping parts of paths from directory names
The line wanted is $file_path = File::Spec->abs2rel( $file_path, $path );