----- Original Message ----- 
From: "Michael G Schwern" <[EMAIL PROTECTED]>

> > > You know about the foo.PL mechanism for generating a file foo?
> > >
> > 
> > No, but I'm always ready to learn :-)
> 
> Look at the PL_FILES argument to WriteMakefile()
> 

In order to see what happens, I opened my makefile.pl and inserted:
my %PL_FILES = ('bin/amend.pl', 'amend');
Then in the WriteMakefile section I put
PL_FILES => \%PL_FILES,

I guess that's what I was supposed to do :-)

It's really neat !!
I don't get 'amend.pl' in blib, and I don't have to run the extra command.

Thanks guys.

Cheers,
Rob

Reply via email to