----- Original Message -----
From: "Ed Avis" <[EMAIL PROTECTED]>
To: "Sisyphus" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Saturday, October 12, 2002 6:42 PM
Subject: Re: Manifest


> If you put in your WriteMakefile() call something like
>
>    'PL_FILES' => { 'foo.PL' => 'foo' }
>
> then the program foo.PL will be run in order to build the file
> 'foo'.  It will have the filename to write to passed as its first
> argument (IIRC).
>

In my case I'm not trying to build an additional file - I'm just running
'amend.pl' to rewrite the .pm file that nmake has placed in blib/lib. This
is a quirk of using Inline::C to build a module when the C code is in a
separate file (ie. when the source code is *not* "inline").
It's working fine - though I feel that putting
PL_FILES => {'bin/amend.pl' => 'amend'}
is a bit of a rough hack, given that no additional file is actually being
built.

Anyway, I'm quite happy with doing this ..... unless it's deemed that I
*should* be amending the .pm file some other way.
It's actually a very neat fix to what was a somewhat messy problem.

Thanks for the pointers.

Cheers,
Rob

Reply via email to