On Sat, 31 Jan 2004, John W. Krahn wrote:

<snip> 
> use POSIX 'mkfifo';
> 
> die "Cannot initialize $path_fifo: $!"
>     unless unlink $path_fifo and mkfifo $path_fifo and chmod 0600,
> $path_fifo;
> 

Just one, very minor "improvement", of the above might be:

die "Cannot initialize $path_fifl: $!"
        unless unlink $path_fifo and mkfifo($path_info,0600);

Granted, this is a nit, but if in a loop which executes a million times, 
it could add up. I guess that I've been on "CPU constrained" systems for 
so long that every millisecond is now precious <grin>.

--
Maranatha!
John McKown


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to