in reply to Relating Pert test report number to test items in the code

There is a module that does it: TAPx::Parser. There's a simple cmdline script that comes with it called runtests. You'll need to manually download and manually install it because some of the tests will fail; however, don't worry about that because it does work. For runtests:
runtests -v /path/to/test
Or you can give a directory and run as many tests as you want:
runtests -v /path/to/tests/directory