in reply to how to get the parent directory name?
#!/usr/bin/perl use strict; use warnings; use Cwd; print Cwd::realpath('..');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: how to get the parent directory name?
by grinder (Bishop) on Dec 08, 2006 at 13:29 UTC |
In Section
Seekers of Perl Wisdom