We don't bite newbies here... much | |
PerlMonks |
Re: shell to perlby derby (Abbot) |
on Aug 14, 2002 at 15:11 UTC ( [id://190107]=note: print w/replies, xml ) | Need Help?? |
Well, this is more than and ordinary shell script - its
a makefile. While I wouldn't want to rewrite a makefile in
perl, you could simplify the genfiles recipe by replacing
the shell script there with a perl script.
The recipe for genfiles basically does this
You could easily combine those two things into a perl script and then change the recipe to be something like this:
-derby update but now that I think about it some more that whole script could be replaced by more generic makefiles recipes that show target files have a dependancies on pdl and mdl files. Check out the make book.
In Section
Seekers of Perl Wisdom
|
|