| tag- | oh no, no problem. |
| maasha | hi |
| v1d4l0k4 | now I know what you saying to me :) |
| tag- | Ughhhhhhhhh |
| maasha | generic question. is there a smart way to iterate over a list and at the same time remove elements from the list that fulfill some criteria and hence shorten the list and the number of iterations? |
| Patterner | what method did you use for profiling and do the results really justify this question? |
| v1d4l0k4 | f00li5h? |
| f00li5h | v1d4l0k4: hrm? |
| maasha | is it best to do recursion instead of looping? |
| v1d4l0k4 | In the for statement the $word is replaced or matched with the ERs? I don't know when =~ replaces or matches. As far as I know =~ do the same, right? |
| f00li5h | maasha: why not just use grep? v1d4l0k4: s/// does replace, m// does match (if it's just //, it's m//) |
| v1d4l0k4 | hmm, nice explanation, ty again =] |
| f00li5h | reading O'rly's pocketbook series teaches you to shorten things quite well |
| v1d4l0k4 | :) I'll read, of course. More one question... s/$$regex[0]/${&}$$regex[1]/g What's the {&} inside ER? And why use $$ and not $ only? |
| f00li5h | $& in perl var, i think it's "whole match" but i'm not sure |
| buu | HELLO CHILDREN |
| f00li5h | buu! IT'S SOO GOOD TO SEE YOU AAGIAN! |
| buu | YAY |
| f00li5h | you're just in time to help v1d4l0k4 port Lingua::PT::Hyphenate to php! |
| v1d4l0k4 | f00li5h: hmm... no problem, at least now I have an idea :) |
| buu | Yay! |
| jql | that's what we said |
| buu | I'm so happy. f00li5h: Have I mentioned how awesome marc warren is? |
| f00li5h | buu: i think you may have |
| action | CPAN upload: Mail-vpopmail-0.60b3 by JKISTER |
| CPAN | upload: Mail-vpopmail-0.60b3 by JKISTER |
| v1d4l0k4 | I'm learn many things here... 90% what I need to learn :) |
| buu | f00li5h: This is a really well done movie. |
| f00li5h | buu: which one? |
| buu | f00li5h: Hogfather |
| f00li5h | i see |
| v1d4l0k4 | Last question, I think... what's the '$word =~ y/.//d;' statement can do? |
| buu | Let me introduce you to the wonders of perldoc |
| v1d4l0k4 | oO |
| f00li5h | v1d4l0k4: y is tr, short for transliteration (IIRC) eval: 15**3 |
| buubot | f00li5h: 3375 |
| f00li5h | eval: 16**3 |