Re: Internal Filename Representations (was Re: Summary of I/O related RFCs)
[email protected] (Nick Ing-Simmons) Wed, 16 Aug 2000 20:18:56 +0000
| Newsgroups | perl.perl6.language.io,perl.perl6.internals |
|---|---|
| Message-ID | <E13P9eK-0002zu-00@roam1> |
Johan Vromans <[email protected]> writes: >Nathan Wiger <[email protected]> writes: > >> $fo = open "C:\Windows\System\IOSUBSYS\RMM.PDR"; >> $fo->pathdrive = "C:" ; > >I think the drive is "C", not "C:". The reason for including the ':' is so that the rule for reconstructing the path is easy and we don't need another slot for 'drive separator'. > >> $fo->patharray = [ Windows, System, IOSUBSYS, RMM.PDR ]; > >I think the patharray is [ Windows, System, IOSUBSYS ]. >The file name is RMM, the extension is PDR. > >> $fo = open "/etc/inet/inetd.conf"; >> $fo->pathdrive = ""; > >I think this should be the mount point, e.g., "/". > >> Splitting apart or putting together either one of these paths is trivial > >I think it's far from trivial, especially if you want to take into >account network names, file versions, protection attributes and ACLs, ... > >-- Johan -- Nick Ing-Simmons