use perl for abs_path and dirname to resolve a symlinked log-muncher