in reply to how to execute perl from a shell script

This is more a shell question than a Perl one. A precise answer depends on which shell you are running: /bin/sh, bash, zsh, ksh, csh, and so on. Consulting your shell man page (or a good shell book) may help.

If you show us what you have tried so far, and provide precise details of how it is failing, we may be able to help. A similar question was asked in calling perl script from shell script.

Slightly off topic, it may interest some monks that Tim Maher is currently finishing up a new Perl book, due in September 2005, aimed at shell users and programmers, titled Minimal Perl. To get a feel for what the book contains, take a look at his YAPC slides Minimal Perl for Shell Users and Programmers (Part I) and Minimal Perl for Shell Users and Programmers (Part II).

Update: consultix links above are broken. Minimal Perl (Manning)

  • Comment on Re: how to execute perl from a shell script