Re: [MacPerl-Porters] [ macperl-Bugs-472413 ] pwd result different from 5.20r4
[email protected] (Thomas Wegner)
| Newsgroups | perl.macperl.porters |
|---|---|
| Message-ID | <p04320401b7f4cdc863ff@[149.225.13.166]> |
At 6:48 Uhr -0700 18.10.2001, [email protected] wrote: >Bugs item #472413, was opened at 2001-10-18 06:47 >You can respond by visiting: >http://sourceforge.net/tracker/?func=detail&atid=107940&aid=472413&group_id=7940 > >Category: None >Group: None >Status: Open >Resolution: None >Priority: 5 >Submitted By: Axel Rose (axelrose) >Assigned to: Nobody/Anonymous (nobody) >Summary: pwd result different from 5.20r4 > >Initial Comment: >tested with MPW perl > >perl -e 'print `pwd`' >trailing ":" under 5.6.1b1 >no trailing ":" under 5.20r4 > > >Axel > >---------------------------------------------------------------------- > >You can respond by visiting: >http://sourceforge.net/tracker/?func=detail&atid=107940&aid=472413&group_id=7940 Axel, this is not a bug, it's a feature. You will see, that most modules dealing with file specifications now behave like this. I've detected this way back in February, and Chris told me that we are going to standardize on always ending in a colon for a directories. Although a trailing ':' is not necessary for directories, it makes sense when it comes to distinguish files from directories literally, without consulting the filesystem (e.g., some of the File::Spec::Mac routines make use of this). Furthermore, a volume name (kind of directory) requires a trailing colon as you know, so it's better to always have a colon appended. Tschüß, --Thomas _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com