How does one set the current working directory for a perl debug
session? I've tried the following:

1) start perl debug, then 'M-x cd'. 'M-x pwd' reports the correct
directory, but a statement like "my $cwd = `pwd`;" gets the directory
of the file being debugged.

2) tried starting emacs in the targeted directory. Same results as 1.


When perldb starts it says at the top:

Current directory is [directory of file being debugged]

Loading DB routines from perl5db.pl version 1.25
Editor support enabled.


How do we change the current directory?

-Kelly