in reply to Re: Re: Filesystem checking
in thread Filesystem checking

I was sorta guessing ... but now I looked into the code:
For VMS, W32, Mac and OS2 '$volume' means something like drive e.g. 'C:'
as for Unix its not implemented at all and always returns ''

pelagic

Replies are listed 'Best First'.
Re: Re: Re: Re: Filesystem checking
by eserte (Deacon) on Apr 30, 2004 at 13:53 UTC
    I would not say it's "not implemented". There is simply no such concept of a special volume part in a Unix filename (which is a good thing, IMHO).
      Yes, in the filename it's not, but in the file there is (otherwise the question would be meaningless). Therefore it should be part of File::Spec. Please observe that the module isn't called FileName::Spec or File::Name.