Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How to create a parallel communication with 2 subroutine

by Anonymous Monk
on Dec 27, 2011 at 22:33 UTC ( [id://945252]=note: print w/replies, xml ) Need Help??


in reply to How to create a parallel communication with 2 subroutine

See threads, Proc::Background, Proc::Fork, Sub::Fork

Basically, fooA controls fooB, when fooA is about the end, it interrupts, stops, kills... fooB before returning

sub fooA { ... my $fooB = oneOfTheAboveModules( \&fooB ); ... $fooB->stop; return }

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://945252]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-19 06:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found