Hi,
This is a patch to return the names and locations of the perl script
and module files within the parrot distribution. The patch adds
subroutines to lib/Parrot/Distribution.pm that parallel the behaviour
of similar subroutines which return the locations of the C source and
header files. This functionality can then be used for testing the
perl coda. Btw: the solution feels untidy and difficult to maintain
somehow, as I just copied the structure from the C-related
subroutines; any feedback on how to refactor the code into a more
maintainable form would be much appreciated. That said, it does the
job though ;-)
Regards,
Paul
files affected:
lib/Parrot/Distribution.pm