#!/usr/bin/perl use strict; use warnings; use Cwd; print Cwd::realpath('..'); [download]
In reply to Re: how to get the parent directory name? by reneeb in thread how to get the parent directory name? by juro