Hi David,
you can use either system or `` , for example :

 system("ls -F /var > /tmp/t.tmp");
 or
 $tmp = `ls -F /var > /tmp/t.tmp`;

-Djoko-
www.dnet.net.id
-----------------
It is said that the lonely eagle flies to the mountain peaks while the lowly
ant crawls the ground, but cannot the soul of the ant soar as high as the
eagle?
-----------------
----- Original Message -----
From: "David Lubowa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 07, 2001 7:45 PM
Subject: System COmmand's in Perl


>
> how can i execute system commands in perl just like how i would do it
while on console ..e.g tail -f /var/log/messages ..that kinda thing...as you
can see the OS type we talking about here is *NIX ..
>
> thanx
>
> _____________________________________________________________
> Be different Get yourself a Globenetcafe.net email ID
> Uganda's Newest internet cafe www.globenetcafe.net
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to