#perl - Sun 20 May 2007 between 01:50 and 01:57



CNoobmst but i don't want to learn another language, I just want to understand one piece of this code.
buuOh god
mstCNoob: http://search.cpan.org/dist/perl/
CNoobtoward the bottom where it starts with " while ( /hidden name=(.*?)>/gs ) {
mstCNoob: you'll find the documentation's there.
CNoobwhat is it doing?
buuThis code sucks.
In so many ways.
mstCNoob: do you know what a while loop does?
buuCNoob: Dude isn't it a good thing there isn't a comment ONE LINE ABOVE IT EXPLAINING IT
CNoobi know what a while loop does but i don't know what this one is doing.
mstCNoob: do you know what a regular expression is?
CNoobBuu i know that, but i can't figure out how it is.
mst yes.
buuThis code makes me cry.
CNoobor is it goign to be constantly every irc channel i can possibly join be bashed because I am a n00b.
buuPRobably.
mstCNoob: ok, the regexp returns true on match
CNoob: if it matches the () capture group will get set into $1
buuI wonder why people think that being inexperienced gives them an excuse to be stupid.
mstCNoob: that should be enough to understand it, I think
CNoobbuu there is a difference between stupid and not knowing.
buuYes there is.
You however, are both.
CNoobbuu if it makes you feel better sure.
mstCNoob: 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
CNoobmst i am looking at it, I can understand it all the way up to the one line.
mstgood night.
CNoobas 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
CNoobi missed that one i apologize mst.
mstright
because you were too busy arguing with buu
which pushes you over the line from not knowing into stupid
CNoobi am not good with mirc, xirc used to hilight the chat lines that were to me. this one isn't hilighted
mstyeah well, this is what you get for trying to do anything useful on a windows box

Page: 4 11 18 25 

IrcArchive