In my bash scripts I often use this (to change to the directory where the script is):
cd $(dirname $0) Is there an equivalent in perl? -- Thanks, . Sonia Hamilton http://soniahamilton.wordpress.com http://www.linkedin.com/in/soniahamilton . I want to share something with you -- the three sentences that will get you through life. Number one, "Cover for me." Number two, "Oh, good idea, boss." Number three, "It was like that when I got here." -- Homer Simpson -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html