Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2014-12-28 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls