Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#perl

12 October 2007


Total 39 pages. You are browsing page 3/39.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

01:59 <****> apeiron: i have been for the last 5 minutes.
01:59 <****> initself, Come off it, I can speak 'owever I please!
01:59 <****> Then I can say good and ur.
01:59 <****> lol
01:59 <****> apeiron: let's see some cockney rhyming slang!
01:59 <****> uhm
01:59 <****> i was just asking a question that all aperion
01:59 <****> initself, My phraseology is correct. What you're proposing, however, is not.
01:59 <****> bsdbandit, ape[tab]
01:59 <****> apeiron:
02:00 <****> -c !
02:00 <****> hooray!
02:00 <****> yay!
02:00 <****> whats up with the yelling
02:00 <****> apeiron:
02:00 <****> And a second time!
02:00 <****> bsdbandit, er, just that you've been asked repeatedly and didn't seem to get it. :)
02:00 <****> bsdbandit: your question is what? ``is system("command"); the same as running "command" in a shell?''
02:00 <****> bsdbandit: didn't you see the answer?
02:00 <****> yes
02:01 <****> so there you are, be happy :)
02:01 <****> what was the answer again if you dont mind
02:01 <****> bsdbandit
02:01 <****> you can use system() if you want output on screen... qx() or backticks if you want to capture output
02:01 <****> ok thank you
02:03 <****> can anyone look at the code i pasted a little earlier? i'm trying to get the differenec (lines that appear in the second file, but not the first)
02:03 <****>right to find neighbour which is this text.
02:03 <****> *difference...
02:03 <****> Any better way to do it?
02:04 <****> i wonder if you can do that with Text::Balanced
02:05 <****> Algorithm::Diff!
02:05 <****> apeiron, do you know answers to my questions?
02:05 <****> i think he was answering mine lol
02:05 <****> pkrumins, Nope. I've not done much HTML parsing.
02:06 <****> kk
02:06 <****> why would m/\G.../g not be setting the pos of the string?
02:07 <****> because that pipe is evil?
02:07 <****> ?
02:07 <****> cube it
02:07 <****> I am but the weaselly mirror in which you are reflected
02:07 <****> what pipe?
02:07 <****> wonder if its working, yay!
02:07 <****> m/\Gâ¦/g <---
02:08 <****> simcop2387, ENTROPY WASTER
02:08 <****> buubot, jerk it!
02:08 <****> apeiron: IT'S SUCKER PUNCH A QUEER MONTH AT YOUR NORTHERN CALIFORNIA MAZDA DEALER
02:08 <****> that third char
02:08 <****> YAY
02:08 <****> Necos: um, fix your IRC client ?
02:09 <****> m/\Gstuff/g then
02:09 <****> is it in scalar context?
02:10 <****> ?
02:10 <****> usually m/\Gfoo/g matches want to be m/\Gfoo/cg matches
02:10 <****> what is c?
02:10 <****> check_the_docs
02:11 <****> luke-jr: when a match fails, don't reset pos, so we can try another match at this position
02:11 <****>.<;
02:11 <****> which is usually what you're after if you're using \G
02:11 <****> ouch
02:11 <****> it's not in my docs
02:11 <****> luke-jr: yes it is.
02:11 <****> assuming "my docs" eq perldoc ;)
02:11 <****> epic4 2.0.0 (Circumlocution) + hienoa 0.53
02:11 <****> i really should compile a new version of epic =p
02:11 <****> neither is g
02:12 <****> hobbs: man perlre?
02:12 <****> I didn't think people even *used* epic any more.
02:12 <****> luke-jr: perldoc perlop
02:12 <****> Necos: YOU NEED IRSSI
02:12 <****> no i don't...
02:13 <****> do I need 'c' if there should only be one terminating failed match?
02:13 <****> need? or want?
02:16 <****> oh well, 'c' fixed it
02:16 <****> thanks
02:19 <****> algo::diff doesn't exactly do what i want... hmmm
02:19 <****> Necos, perldoc -q intersection maybe?
02:20 <****> i was reading that...
02:24 <****> basically, what i'm doing is i want to get all of the items in list 2 that aren't in list 1...
02:24 <****> and then extract that from list 2...
02:25 <****> so @a = (a,b,c,d) and @b = (b,c,d,e,f,g), i want @diff = (e,f);
02:25 <****> no diff signs or anything... just the elements themselves
02:25 <****> List::Utils
02:26 <****> i'm using List::Compare right now...
02:26 <****> But I swear it's in the FAQ at the same place as intersection
02:26 <****> List::Utils or List::Util?
02:26 <****> Or maybe List::MoreUtils?
02:26 <****> nah, it does the xor version of that comparison
02:26 <****> hello all, I'm having a very mysterious bug with "use Switch;"... It's even more weird that the bug happends if I remove a comment line/replace it with another comment line.. ie it only happends when there's the word 'case' in the commented line...
02:26 <****> pkcahier, Don't use Switch.
02:26 <****> the symptoms is that execution time goes from 0.06s to 1.5...
02:27 <****> pkcahier: yes, that's what happens when you use Switch
02:27 <****> perldoc -q intersection
02:27 <****> eh...
02:27 <****> so is there any other way to do easy switches that dont look horrible?
02:27 <****> it shows code to do both a difference and an intersection
02:27 <****> otherwise I'll just if/elsif replace them...
02:27 <****> pkcahier: Getopt::Std, Getopt::Long
02:27 <****> pkcahier: perldoc -q switch
02:27 <****> obviously 'Switch' is a pile of junk:(
02:27 <****> it says "Note that this is the symmtric difference"


Total 39 pages. You are browsing page 3/39.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo