| pasteling | "Ani-_" at 87.244.191.112 pasted "mauke: postponed regular subexpressior" (7 lines, 298B) at http://sial.org/pbot/23578 |
| avar | I'm hoping to wrap a DFA engine soon, like GNU grep's, it'll probably speed things up a lot in some applications where you can locate expensive regexes and try different engines or use a profiler that automatically tries various engines:) |
| Randal | I don't like if ($pmon <= 9) crap just use sprintf |
| Ani-_ | What? You don't like seeing 0-25 ? |
| Limbic_Region | avar - did you see the thread on PerlMonks not too long ago where Friedl got involved? |
| Ani-_ | (when $pmon = -25 that is) |
| avar | Limbic_Region: nah, I don't read PM, url? |
| Limbic_Region | looking now |
| Ani-_ | avar: LIAR |
| mauke | 19107 |
| Ani-_ | avar: If you don't read PM then what good is an url to it? |
| Randal | I don't know who started that style, but it always creeps me out |
| avar | Ani-_: What good is your whining if you are unable to .. type? :) |
| Randal | if ($n < 10) { $n = "0$n" } |
| Limbic_Region | avar - http://perlmonks.org/?node_id=597262 |
| Ani-_ | Unable to type? :( |
| Limbic_Region | avar - it was a very interesting read |
| avar | ah, that one |
| Ani-_ | eval: $x=sprintf("%02d",0); $x ? "true" : "false"; |
| buubot | Ani-_: true |
| Randal | your TEMPLATE => needs "XXXXXX" added to it killer ? |
| action | Randal realizes he's typing at someone who is very much bloodly likely not paying attentiona gain |
| Randal | realizes he's typing at someone who is very much bloodly likely not paying attentiona gain |
| Patterner | it's good for your karma... |
| avar | Limbic_Region: I've actually made a re::engine::Plan9 already, but it's not on cpan |
| Ani-_ | killer_: also: you can declare and initialise a variable at the same time. |
| avar | Limbic_Region: Because I want to bundle libfmt, libutf and libregex9 and I have to whip up some scripts to build that stuff:) |
| Randal | my $template = sprintf "%04d%02d%02d%02d%02dXXXXX", $year + 1900, $mon + 1, $day, $hour, $minute; killer? killer - PING PING PING PING |
| Ani-_ | killer_: don't use: my ($x, $y, $z); $x = "abc"; $y = "def"; ...; use my $x = "abc"; my $y = "def"; ... or even my ($x, $y, ...) = ("abc", "def", ...) |
| Randal | that too 10 people all talking to killer, and he's gone |
| Limbic_Region | avar - well, nfa and dfa are not things I have assimilated in my brain. I keep them on the shelf label "read only in case of emergency" |
| avar | well, I don't understand them either, I just use the API:) |
| Ani-_ | Limbic_Region: you have time to read in an emergency? :) |
| Z0MG | ZOMG |