id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
1036,Debugged scripts can't find modules in the current directory,dandv,,"When stepping into this script on Windows, Padre doesn't change to the correct directory, because the script can't find a module located in the same directory:

{{{
use strict;
use Cwd;

print getcwd(), ""\n"";  # wrong, getcwd() returns the My Documents directory

require Module;

print Module::foo();
}}}

Module.pm exists in the same directory as the script:

{{{
package Module;

sub foo { 'bar' }

1;
}}}

When run from the command line in c:\programs\perl, the script works as expected and prints

{{{
c:/programs/perl
bar
}}}",defect,closed,critical,,Debugger for Perl 5,0.72,not a bug,debugger,
