[Israel.pm] integrating unix commands

Shlomo Yona shlomo at cs.haifa.ac.il
Mon Jan 12 22:16:35 PST 2004


On Mon, 12 Jan 2004, Lena Farid wrote:

> 
> hello,
> 
> Anyone know how to integrate a unix command in a perl script? like what 
> is the syntax for it?

You have several ways. Most popular are using backticks
(qx//) and system(). There are other ways as well.

Here are short slides with many examples 
http://cs.haifa.ac.il/~shlomo/perl/lecture6/index.html

(I used these slides in Haifa and I coocked them using the
perldocs).

-- 
Shlomo Yona
shlomo at cs.haifa.ac.il
http://cs.haifa.ac.il/~shlomo/




More information about the Perl mailing list