I used the following command to debug program.
perl -d -I "./Dev/lib/" -I "./TestCases/Dev/" ./Dev/bin/mytest.pl
I want to use 'perl -d ' to debug mytest.pl, and there are many *.pm files. I want to use 'f *.pm' to load this pm file and set a break in this pm file, but it shows 'No file matching'. I give the full path of this pm file and the path exactly exists.
DB<4> f /automation_code/TestCases/Tests/Dev/testcase1.pm
No file matching '/automation_code/TestCases/Tests/Dev/testcase1.pm' is loaded.
But if i give the path composed by ./Dev/bin, it will be loaded successfully.
DB<2> f /automation_code/Dev/bin/../lib/Setup.pm
DB<3> f /automation_code/Dev/lib/Setup.pm
No file matching '/automation_code/Dev/lib/Setup.pm' is loaded.