Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: How to get full path name in windows?

by 2teez (Priest)
on Dec 10, 2012 at 03:59 UTC ( #1008028=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    ...
        }
        close $fh or die "can't close file:$!";
    }
    
  2. or download this
        $abs_path = File::Spec->rel2abs( $path ) ;
        $abs_path = File::Spec->rel2abs( $path, $base ) ;
    
  3. or download this
    D:\Prog\Perls\doc.txt
    D:\Prog\Perls\volt.txt
    D:\Prog\Perls\holiday.txt
    
  4. or download this
    C:\Users\Me\Desktop\Cluster1\doc.txt
    C:\Users\Me\Desktop\Cluster1\volt.txt
    C:\Users\Me\Desktop\Cluster1\holiday.txt
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008028]
help
Chatterbox?
[1nickt]: Life is weird. Just reading about the iPhone battery problems and saw: 'It’s like calling water “dihydrogen monoxide”'

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2016-12-06 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (105 votes). Check out past polls.