Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Detecting whether two pathes refer to the same file

by ikegami (Patriarch)
on Sep 10, 2010 at 16:14 UTC ( [id://859658]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ echo foo > a
    
    ...
    $ perl -MCwd=abs_path -E'say abs_path($_) for @ARGV' a b
    /tmp/a
    /tmp/b
    
  2. or download this
    C:\Temp\file
    \\?\C:\Temp\file          # Via UNC path
    ...
    \\10.0.0.6\C$\Temp\file   # Via IP address
    \\localhost\share\file    # Via share
    Z:\file                   # Given subst Z: C:\Temp
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://859658]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (5)
As of 2024-03-29 10:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found