juro has asked for the wisdom of the Perl Monks concerning the following question:
Clearly that does not work.my $artistdir=opendir(DIR, '..'); my $albumdir=opendir(DIR, '.'); print "$artistdir\n"; print "$albumdir\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: how to get the parent directory name?
by reneeb (Chaplain) on Dec 08, 2006 at 11:50 UTC | |
by grinder (Bishop) on Dec 08, 2006 at 13:29 UTC | |
|
Re: how to get the parent directory name?
by jbert (Priest) on Dec 08, 2006 at 12:07 UTC | |
by jhourcle (Prior) on Dec 08, 2006 at 14:09 UTC | |
by Anonymous Monk on Dec 08, 2006 at 14:45 UTC | |
|
Re: how to get the parent directory name?
by xdg (Monsignor) on Dec 08, 2006 at 12:56 UTC | |
|
Re: how to get the parent directory name?
by leocharre (Priest) on Dec 09, 2006 at 04:55 UTC |