CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Beginner:
get current path

 



billydean
Deleted

Mar 29, 2000, 4:19 PM

Post #1 of 2 (838 views)
get current path Can't Post

If chdir to a directory, is there a variable that will tell me the full path that it is currently in. Im using Windows.


japhy
Enthusiast

Mar 29, 2000, 6:09 PM

Post #2 of 2 (838 views)
Re: get current path [In reply to] Can't Post

<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>


use Cwd;
$dir = cwd();
</pre><HR></BLOCKQUOTE>

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives