in reply to Test to see if directories are the same
sub sameDirectory { my ($s,$d) = @_; -d $s and $s = abs_path($s) or return -1 ; -d $d and $d = abs_path($d) or return -1 ; $s eq $d ? 1 : 0 ; }
--
AltBlue.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(tye)Re: Test to see if directories are the same
by tye (Sage) on Jan 18, 2001 at 00:36 UTC | |
by AltBlue (Chaplain) on Jan 18, 2001 at 00:58 UTC | |
by lemming (Priest) on Jan 18, 2001 at 00:46 UTC | |
by tye (Sage) on Jan 18, 2001 at 00:54 UTC | |
|
Re: Re: Test to see if directories are the same
by merlyn (Sage) on Jan 18, 2001 at 02:12 UTC | |
by AltBlue (Chaplain) on Jan 18, 2001 at 15:44 UTC |