[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

[MacPerl] chdir went wrong



Hi, I found some strange behaviour of the MacPerl's chdir command on
partitioned harddrives.
Assume the following:

# names of two partiones of the same hardrive
$partition1 = "Stalin";
$partition2 = "Marilyn";

#going down the tree from anyplace
while( chdir("::") ) {}
# after that, you are now on the desktop

# trying to move to the second partition, but it fails
# I am ending up on the first partition, not on the second one
chdir($partition2);
$path = `pwd`;
print "$path";


Is this a bug ore a feature ?

By
Berndt

***************************************************************
       I don't think that this program cont%&#\ a Virus
       I don't think that thi$ program contain$ a Viru$
       I d%n't think th@# this progrDONT'T PANICa Virus
***************************************************************



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch