note
tobyink
<p>Save this tiny script as <c>perl-checkall</c>...</p>
<c>
#!/usr/bin/env perl
for (@ARGV) {
die "Not oll korrect!\n" if system $^X, '-c', $_;
}
exit(0);
</c>
<p>Now, in <c>Makefile</c>...</p>
<c>
install: foo bar
perl-checkall $^
$(INSTALL) $^ /usr/local/bin
</c>
<!-- Node text goes above. Div tags should contain sig only -->
<div class="pmsig"><div class="pmsig-757127">
<small><small>
<tt>perl -E'sub Monkey::do{say$_,for@_,do{($monkey=[caller(0)]->[3])=~s{::}{ }and$monkey}}"Monkey say"->Monkey::do'
</tt></small></small>
</div></div>
1012548
1012548