The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Working with multiple home directories. trey85stang Shell Programming and Scripting 11 05-15-2008 11:45 PM
how to change permissions only to files, not directories....? narrok UNIX for Dummies Questions & Answers 1 06-04-2007 03:56 PM
Change permission for directories and files mingfei2006 Shell Programming and Scripting 1 08-23-2006 04:00 AM
Change to a new working directory... jagannatha UNIX for Dummies Questions & Answers 5 06-29-2005 07:38 PM
Time change not working... conflansun UNIX for Dummies Questions & Answers 7 11-02-2001 10:40 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-02-2005
Registered User
 

Join Date: Oct 2005
Posts: 5
how to change working directories in perl?

i am new to perl. i am writing a perl script. i want to know how to change the working directories? for ex. i have a perl script in c:\proj\ . i want to run this script in this directory but i need my script to change its working directory to D:\xyz\ dynamically in the script.
your help is appreciated.


Thanks
Reply With Quote
Forum Sponsor
  #2  
Old 11-02-2005
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,328
The function in perl is the same name as the system call - chdir. Check man perlfunc for more details.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:45 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0