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

Re: [MacPerl] chdir went wrong



Berndt Wischnewski <wischnewsky@mpib-berlin.mpg.de> writes:
>Hi, I found some strange behaviour of the MacPerl's chdir command on
>partitioned harddrives.
>Assume the following:
># trying to move to the second partition, but it fails
># I am ending up on the first partition, not on the second one
>chdir("Marilyn");
>$path = `pwd`;
>print "$path";
>
>Is this a bug ore a feature ?

It's a *behaviour*, I'd say :-) Volume names need to end with a ":" on the Mac.

Matthias

-----
Matthias Neeracher   <neeri@iis.ee.ethz.ch>   http://www.iis.ee.ethz.ch/~neeri
      "This newsgroup has the institutional memory of a squashed slug."
                                      -- Mark Pitcavage

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