| CNoob | mst but i don't want to learn another language, I just want to understand one piece of this code. |
| buu | Oh god |
| mst | CNoob: http://search.cpan.org/dist/perl/ |
| CNoob | toward the bottom where it starts with " while ( /hidden name=(.*?)>/gs ) { |
| mst | CNoob: you'll find the documentation's there. |
| CNoob | what is it doing? |
| buu | This code sucks. In so many ways. |
| mst | CNoob: do you know what a while loop does? |
| buu | CNoob: Dude isn't it a good thing there isn't a comment ONE LINE ABOVE IT EXPLAINING IT |
| CNoob | i know what a while loop does but i don't know what this one is doing. |
| mst | CNoob: do you know what a regular expression is? |
| CNoob | Buu i know that, but i can't figure out how it is. mst yes. |
| buu | This code makes me cry. |
| CNoob | or is it goign to be constantly every irc channel i can possibly join be bashed because I am a n00b. |
| buu | PRobably. |
| mst | CNoob: ok, the regexp returns true on match CNoob: if it matches the () capture group will get set into $1 |
| buu | I wonder why people think that being inexperienced gives them an excuse to be stupid. |
| mst | CNoob: that should be enough to understand it, I think |
| CNoob | buu there is a difference between stupid and not knowing. |
| buu | Yes there is. You however, are both. |
| CNoob | buu if it makes you feel better sure. |
| mst | CNoob: are you going to argue with him or are you going to listen to the person trying to help you? actually, no, forget it evidently you'd rather argue than be helped |
| CNoob | mst i am looking at it, I can understand it all the way up to the one line. |
| mst | good night. |
| CNoob | as the reason i came to the perl chat to understand this code a little bit more. mst how is it pulling the hidden variables out tho? |
| mst | < mst> CNoob: if it matches the () capture group will get set into $1 I already answered that part |
| CNoob | i missed that one i apologize mst. |
| mst | right because you were too busy arguing with buu which pushes you over the line from not knowing into stupid |
| CNoob | i am not good with mirc, xirc used to hilight the chat lines that were to me. this one isn't hilighted |
| mst | yeah well, this is what you get for trying to do anything useful on a windows box |