You can use system command inside perl

system(" find . -iname 'abc'");

--
Shekar

On Wed, Jul 13, 2011 at 11:16 AM, Irfan Sayed <irfan_sayed2...@yahoo.com>wrote:

> hi,
>
> i need to print the output of a command on the console at runtime
> lets say, i need to execute find command .as of now , what i am doing is ,
>
> @cmd= `find . -name "abc"`;
> print "@cmd\n";
>
> now what happens is, once the command completed then it will send entire
> output to @cmd
> and then entire output gets printed to console in one shot
>
> instead of that , i need output to be printed as it progresses
>
>
> plz suggest
>
>
> regards
> irfan

Reply via email to