in reply to Re^6: how to create makefile?
in thread how to create makefile?

Unlike C, Perl uses "Just in Time" compiling. So you only need to:

perl pgm.pl perl pgm2.pl

If you need to only run pgm2.pl when pgm.pl completes successfully, then in most shells:

perl pgm.pl && perl pgm2.pl

will do that.