If you need to constantly monitor the file tail results, you could use threads, but there are alot of caveats to watch for when using threads. Many times, threads need to be created before any other object code is called(due to non-threadsafe objects), so you may not be able to just use threads any way you want. Threads work well if properly setup for the situation, but you show use the SuperSearch box here and search for all the previous posts on threads. See Why use threads over processes, or why use processes over threads?
In reply to Re: Stability of threads in perl 5.8?
by zentara
in thread Stability of threads in perl 5.8?
by bowei_99
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |