CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
Multithreading... Please help.

 



ramki067
New User

Jan 1, 2008, 10:13 PM

Post #1 of 2 (1696 views)
Multithreading... Please help. Can't Post

Hi all,
I have a perl script where in i need to have threading capability. that is one thread needs to parse a file and the other has to continue the normal process. If the parsing of a file finds an error it should halt the other thread and go to a specific line. Please help me ,how can i do it?

Thanks,
Ramki.


KevinR
Veteran


Jan 2, 2008, 10:58 AM

Post #2 of 2 (1682 views)
Re: [ramki067] Multithreading... Please help. [In reply to] Can't Post

You will want to use the "threads" module, you may need to install it though. The old module that comes with perl "Thread" is not supposed to be used anymore. Search CPAN for the "threads" module.
-------------------------------------------------

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives