On Wed, Apr 23, 2008 at 5:37 PM, Sonia Hamilton <[EMAIL PROTECTED]> wrote: > 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?
might not be exactly what you're after... http://perldoc.perl.org/FindBin.html cheers justin -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
