Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re^7: A new CB reader

by choroba (Archbishop)
on Jul 12, 2019 at 21:03 UTC ( #11102759=note: print w/replies, xml ) Need Help??

in reply to Re^6: A new CB reader
in thread A new CB reader

Thank you! I tried to integrate the changes in my way. Please verify it works on MSWin, too. Is the QUIT signal still needed? Using MCE::Child makes quitting a bit slower, as all the messages in the queue must be processed first, but otherwise, it should work the same way as the other options.

map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Replies are listed 'Best First'.
Re^8: A new CB reader
by marioroy (Vicar) on Jul 12, 2019 at 23:50 UTC

    Signal handling is not necessary. I did that due to MCE::Channel lacking the insert method. Ah, your branch adds an insert wrapper calling enqueue :). That's a clever way calling insert when available.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2020-01-29 20:14 GMT
Find Nodes?
    Voting Booth?