in reply to Re^2: How can I reduce the time taken by wav file to save in /tmp folder
in thread How can I reduce the time taken by wav file to save in /tmp folder
That just looks like a print statement to me. I don't see anything that should "take time". STDOUT is buffered. Buffering can cause a delay in writing to the screen and make it look like something took a long time when in fact it didn't. Add this line: $|=1; at the top of your Perl code. That will turn off buffering.