Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: Pimp My RegEx

by radiantmatrix (Parson)
on May 31, 2005 at 20:01 UTC ( #462196=note: print w/replies, xml ) Need Help??


in reply to Re^2: Pimp My RegEx
in thread Pimp My RegEx

They cringe when they see a complex regex and a "$/" will have them running to the camel book!

Add a comment?

local $/ = $my_input_sep; # Custom input separator (instead of \n)

Yoda would agree with Perl design: there is no try{}

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://462196]
help
Chatterbox?
[ambrus]: I think the minimal implementation here is just a timer and io function, plus pushing to the @REGISTRY.
[Corion]: ambrus: Yeah, at least that's what I think I'll start with. A timer and potentially the dummy IO function that never is ready
[ambrus]: That only lets you invoke the main loop from Prima->run;, not from AnyEvent->condvar- >recv; but that shouldn't matter

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2016-12-08 12:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (141 votes). Check out past polls.