#apache #archlinux #asterisk #centos #debian #gentoo #haskell #kde #kubuntu #lisp #math #mysql #perl #python #ruby-lang #rubyonrails #suse #ubuntu #vim #wikipedia 0 1 2 3 4 5 6 7 8 9 10 11 
Top Prev 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 Next

#perl

<infi> nice
<Gnomer___> Is all it gave me.
<dazjorz> :)
<dazjorz> Gnomer___, So search for "'s
<SubStack> GumbyBRAIN: can't find string terminator anywhere before OMGWTFBBQ
<GumbyBRAIN> Before you know i joined before i think will be called, "the terminator.
<Caelum> Gnomer___: you're on windows, so use " insetad of '
<cfedde> Gnomer___: what do you have? what do you expect?
<Daveman> Gumbybrain: Ahl be bahk!
<GumbyBRAIN> Be still, be calm be quiet now my son! Here, have some dong.
<Daveman> EWW!
<dazjorz> Lol!
<Caelum> haha
<Daveman> :(
<Gnomer___> cfedde, I'm not even joking. I have no idea what you're wanting me to see.
<Caelum> is anyone saving these gumby quotes?
<dazjorz> Hm
<cfedde> Gnomer___: I'm still confused what you want your code to do.
<dazjorz> Might make a database of'em
<cfedde> it's printing the md5_hex for the text in $test.
<infi> GumbyBRAIN: Within my penguin lies a torrid story of hate and love.
<GumbyBRAIN> I hate to be quite a story.
<dazjorz> GumbyBRAIN: eat dongs
<cfedde> Gnomer___: you seem to think that it should print an MD5 for each line.
<GumbyBRAIN> Dongs dongs cocks and dongs.
<GumbyBRAIN> where is the bit i drive around.
<dazjorz> three requests at the same time?
<Gnomer___> cfedde, thats what I want it to do
<Daveman> dong-crazed mofo.
<infi> Gnomer___: Then tell it to!
<cfedde> Gnomer___: you and perl don't agree on what this code should do.
<Gnomer___> Replaec spaces with newlines, and then md5 each line
<Gnomer___> cfedde, obviously.
<SubStack> GumbyBRAIN should reply 5 times to every request
<mauke> oh, so that's what it's supposed to do
<GumbyBRAIN> you get it's chance, rugby won the rugby world cup, not because it did work on every in a call to request.
<cfedde> Gnomer___: you are passing the string once to md5_hex.
<mauke> print "$_: ", md5_hex($_), "\n" for split ' ', $line;
<cfedde> Gnomer___: you expect it to return 5 md5 when you only call md5_hex once.
<Daveman> ;]
<cfedde> if you want it once per line you need to call it once per line.
<Gnomer___> cfedde, You've solved my problem.
<Gnomer___> Thank you.
<cfedde> Gnomer___: you see why I was confused?
<cfedde> I had to figure out what you expected your code to do by reading between the lines.
<infi> Gnomer___: your code will only do what you tell it to do.
<cfedde> perl is pretty agreable. It does what you tell it to do.
<Gnomer___> cfedde, well now I know, but I still need a bit of advice
<Gnomer___> Not an answer though
<cfedde> use split

Previous Page  Next Page

Search ircarchive.info