Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to get full path name in windows?

by 2teez (Vicar)
on Dec 10, 2012 at 03:59 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1008028]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-25 12:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found