⭐ in reply to How do I change .. to the real filename?
use File::Spec; print File::Spec->rel2abs("/home/projects/.."); [download]