in reply to How do I find what directory the perl script is running from?
use Cwd; print "The current working directory is: ", cwd(); [download]
Originally posted as a Categorized Answer.