Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #40428] [PATCH] Return perl script and module file locations in parrot distro

7 views
Skip to first unread message

Paul Cochrane

unread,
Sep 29, 2006, 3:36:54 AM9/29/06
to bugs-bi...@rt.perl.org
# New Ticket Created by "Paul Cochrane"
# Please include the string: [perl #40428]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40428 >


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

ParrotDistribution.patch

Paul Cochrane via RT

unread,
Dec 16, 2006, 12:14:57 PM12/16/06
to perl6-i...@perl.org
Resolved in r16125.
0 new messages