in reply to How do I change .. to the real filename?

use Cwd 'abs_path'; print abs_path('/home/projects/..');