Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Perl Monks User Search

( #6364=superdoc: print w/replies, xml ) Need Help??

This is where you can search for all the writeups contributed by any user. Just enter the user name and select the order for the search.

Author: Show nodes
Order by: starting at .
Node Type: Show Categorized Q&A (Why?)

Or try a Super Search

These nodes all have stuff by sk (showing 1-50 out of ~231?):

Next 50
Node ID Writeup Created
539332 Re: Using return values in subroutines 2006-03-27 00:37
532787 Re: Comparing two arrays 2006-02-25 17:50
529010 Re^3: help in $SIG 2006-02-09 06:54
529008 Re: help in $SIG 2006-02-09 06:32
526343 Re: FTP transfer progress 2006-01-30 01:39
525367 Re: Google Translation using WWW::Babelfish 2006-01-25 04:07
523538 Re^3: Shebang Inside the coding ? 2006-01-16 16:38
523417 Re^2: Opening a text file in its native application 2006-01-16 06:52
523414 Re: Opening a text file in its native application 2006-01-16 06:44
523401 Re: Shebang Inside the coding ? 2006-01-16 05:57
521701 Re: sorting out directories 2006-01-07 08:22
520788 Re: opening a file using CGI 2006-01-04 03:26
520191 Re: problem with foreach statement 2005-12-31 21:19
519875 Re: updating passwords securely. 2005-12-29 20:57
518920 Re: Help with SAPI5 Speech Recognition HASH 2005-12-24 17:38
517954 Re: Efficient Data Comparison 2005-12-20 03:17
512870 Re: Urgent query : PERL/Tk 2005-11-30 07:09
511982 Re^3: calling a perl script within a perl script 2005-11-27 03:52
511975 Re: calling a perl script within a perl script 2005-11-27 02:29
511936 Re: How to remove \n between two words but retain one space 2005-11-26 18:20
510634 Re: Basic help with mapping 2005-11-22 04:29
510383 Voting Booth Nodelet: could not vote when viewing other nodes 2005-11-21 07:15
510322 Re: Web navigation 2005-11-21 00:37
506220 Re^2: Parsing named parameters 2005-11-07 03:32
506212 Parsing named parameters 2005-11-07 02:38
502294 Re: Perl inline replace with execution results 2005-10-23 05:39
500647 Re: Concordance Printing of Two Arrays 2005-10-17 03:20
500301 Re: Is there any way to make an array non-greedy? 2005-10-14 16:53
499766 Re: Question about WWW::Mechanize::Link string interpolation 2005-10-13 05:43
499402 Re: Challenge: Letter Power 2005-10-12 07:23
499036 Re^2: Random Math Question 2005-10-11 05:43
498526 Re^2: Spaghetti code... 2005-10-09 07:13
498479 Re^3: Finding Oldest File in a Directory 2005-10-09 00:48
497674 Re: Oddly growing array 2005-10-05 16:52
497409 Re: Finding Oldest File in a Directory 2005-10-04 21:09
497396 Re: Tie::File Deleting Lines Including "\n" 2005-10-04 20:42
497380 Re^3: Creating Table and Inserting Data from CSV 2005-10-04 20:06
497366 Re: Creating Table and Inserting Data from CSV 2005-10-04 19:14
497144 Re: reading from a file and initializing a variable 2005-10-04 06:58
496725 Re: bigint does bot overload range operator 2005-10-02 05:41
495531 Re: Newbie question, advice appreciated 2005-09-27 19:56
495500 Re: What do I do wrong? I want an array of arrays 2005-09-27 18:45
495004 Re^2: Substitute 'bad words' with 'good words' according to lists 2005-09-26 03:00
494645 Re: substr(ingifying) htmlized text 2005-09-23 19:24
494214 Re: Direcctory Traversal 2005-09-22 17:20
494120 Re: Initialization of arrays 2005-09-22 14:02
493980 Re: Changing a file from XLS format to CSV. 2005-09-21 21:58
493637 Re: Cycle in Directed Graph 2005-09-21 01:22
493091 Re: Zero-width assertions fail with split 2005-09-19 06:50
493076 Re: Vocal Japh 2005-09-19 04:07
Next 50
Log In?

What's my password?
Create A New User
[Corion]: ambrus: Yeah, that's what I think as well. But you give me an idea, maybe I should start with implementing the timer, as that should be far simpler and with fewer edge-cases/nasty interaction than the file watcher
[ambrus]: You only provide the watcher part that tells when the handle is readable or writable, not the actual writing and reading.
[Corion]: ambrus: Hmmm. It makes sense that AnyEvent would implement the push_write itself, but I think I don't have a good idea of where the boundary between AnyEvent and the underlying event system lies... Implementing the timer should give me a better idea
[ambrus]: Corion: push_write is in the higher level abstraction of AnyEvent::Handle, not in the watcher
[Corion]: ambrus: Hmm - rereading Prima::File, that merrily coincides with what Prima does - it tells you "you can read", and you're supposed to read from the fh yourself. I thought it called you with the data already read, which would've been harder to integrate
[ambrus]: you just need an io watcher, created by &AnyEvent::Impl:: Whatever::io(...)
[Corion]: So after talking it through with you even while I'm still not entirely clear on where AE ends and my implementation begins, I think I understand that I only need to implement some smaller parts for each functionality I want to support.
[Corion]: Yeah... and you might even be able to mix and match additional functionality if you have additional async suppliers, like from a separate thread
[ambrus]: You hvae to be careful with the timer, because apparently Prima::Timer insists on being periodic, wheras AnyEvent::Impl:: Whatever::timer should give a one-shot timer watcher

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2016-12-08 12:23 GMT
Find Nodes?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:

    Results (141 votes). Check out past polls.