|Just another Perl shrine|
checking syntax on multiple filesby xorl (Deacon)
|on Jan 09, 2013 at 19:11 UTC||Need Help??|
xorl has asked for the
wisdom of the Perl Monks concerning the following question:
I'm using a Makefile to install multiple perl scripts. Before the scripts get installed I want to do a perl -c on them.
So my Makefile looks something like:
Unfortunately the output indicates that it only checked foo and not bar.
Is there some way to make perl check all the files given to it or do I need to come up with some other way to do this in the Makefile?
Thanks in advance
Edit: Thanks to blue_cowdawg and Anon Monk for coming up with this solution: