Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: How does compare the relationship between two file system paths in a portable way?

by quester (Vicar)
on Aug 18, 2009 at 04:29 UTC ( #789336=note: print w/replies, xml ) Need Help??


in reply to Re^3: How does compare the relationship between two file system paths in a portable way?
in thread How does one compare the relationship between two file system paths in a portable way?

Note however that it's not forbidden for a Unix filesystem to allow directory *hard*links. Not sure if Perl runs on any system that has a filesystem where that is allowed.

You can run Perl on Cygwin. A standard Cygwin installation will always have the equivalent of at least one hardlink.

Usually the Windows directory that stores the Cygwin root directory will be in the default location C:\cygwin. Under Cygwin, that is mounted as /, but it can also be accessed as /cygdrive/c/cygwin. Both the drive leter (c) and directory name (cygwin) can be changed during installation.
  • Comment on Re^4: How does compare the relationship between two file system paths in a portable way?
  • Select or Download Code

Replies are listed 'Best First'.
Re^5: How does compare the relationship between two file system paths in a portable way?
by JavaFan (Canon) on Aug 18, 2009 at 09:25 UTC
    Note that I didn't just say "hardlinks". I said "directory hardlinks". That is:
    $ mkdir One $ ln -d One Two
    Cygwin allows that?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://789336]
help
Chatterbox?
[choroba]: I'm just repeating some else's words as I remembered them after having asked the same question
[choroba]: s/some/someone/
Discipulus what a pity all people do not speak only in eatalian..
[choroba]: we'd need video calls more often :)
[Discipulus]: i still suspect english has some logical 'curvature/ crookedness' that has and will have a big impact over programming
[Discipulus]: if you refere to gestures ++choroba
Discipulus still has problem with 'until' beyond simplest cases
[choroba]: ;-)
[Discipulus]: and larry studied natural languages too
[choroba]: Czechs have problems with unless

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2017-05-27 20:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?