| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Comments:
<0> buu: OK <1> daddius: taking a poll? <2> i got a perl q <3> daddius: I don't and I consider it as Evil incarnated. <4> dabreegster: sometimes <3> jedi06: shoot. Don't ask to ask. <5> Paladin, naw no poll <1> daddius: then why ask? <3> Hi Paladin` <5> rindolf, what do you use? <0> Khisanth: What're the chances of it being in Houston or somewhere in the south? <1> 'lo rindolf <3> Paladin`: are you going to YAPC::NA? <6> dabreegster: I know some people trying to get it in houston <5> Paladin, i was confused by some of the instructions on it... <3> daddius: XML::LibXML mostly.
<6> dabreegster: But I don't know if they're winning <1> rindolf: no.. unfortunatly, I can't.. <3> daddius: also XML::Writer, etc. <2> in using reqex when you use a variable such as /^$var[2]/ and the $var2="$hello" this will not work <5> rindolf, does it work good? <3> Paladin`: I'm not going either. <0> buu: I hope they succeed. Is there a poll or something? <5> rindolf, i just want to read an xml config file <1> daddius: then why not ask about what you are confused about rather than wasting time asking usless questions? <3> jedi06: there isn't double interpolation in Perl. <3> daddius: it works pretty well. <3> daddius: do you want to write it? <2> $hello is not a variable <4> dabreegster: actually I was replying to daddius without looking :P <2> it is a string <3> daddius: also look at XPath... <6> dabreegster: Not really. Cities submit their bids and the council decides|! <0> Khisanth: Oh, OK <5> rindolf, just need to read a few xml files into a script <3> daddius: XPath rocks my socks. <0> buu: Woot! <3> daddius: OK. <6> dabreegster: Yeah <2> $hello is not a variable it is a string <3> daddius: there's a nice XPath tutorial on zvon.org. <6> idiot <2> is there a way around it <5> rindolf, will check up on it <3> jedi06: you should use '$hello' <6> Oh god <6> Have they no shame? <3> jedi06: or q{$hello}. <3> jedi06: or "\$hello". <3> jedi06: TIMTOWTDI. <2> but i need a variable there <3> daddius: OK. <2> in the regex <7> or q!$! . "hello" <3> jedi06: I mean outside it. <1> jedi06: you just said it was a string, not a variable.. which is it? <3> jedi06: do a my $s = q{$hello}; /${s}hello/ <3> jedi06: with better variable names. <2> $var[2] needs to be in regex but this variable will always have a $ at the beginning <3> This is just for demonstration. <3> jedi06: OK. So what should happen to this $? <2> i just need to search for it in a .txt <6> I don't think I can take titanic in space <1> jedi06: you need to search for the literal text '$hello'? <2> yes buts its not always 'hello' but always a $ <1> jedi06: so you just need to search for a '$'? <2> nope <2> has to be something after it <1> jedi06: then you need to be more specific.. What exactly do you need to search for? <2> "$" Follow by some variable string such as "$hello" or "$bye" or "$whatever" <1> jedi06: ok.. so build that.. how do you match a literal '$' in a regex? <3> Is beth coming to YAPC::NA? I think so judging from her blog. <2> \$ <6> hahaha <2> so /^\$$var[2]/ but i will have to cut off the $ in $var[2] <6> You hurt my head. <6> Your code, it oozes out of your malignant brain like a tumour with legs.
<8> buu++ <9> AKIRA! TETSUO! <6> integral: I've lost track. Are you at yapc? <8> buu: I'm in Edinburgh. Where's YAPC? <6> integral: Someplace else. <8> Nope, I'm not at yapc <6> Ok. <10> Where's YAPC? have you been sleeping these months? <6> integral: It's just over there. <11> nice.. battery dropped below critical as I was typing.. shutdown the laptop.. heh <6> Paladin: Those Bastards! <11> heh.. luckly yum had just finished it's update.. <6> its! Its for president! <11> shutting down while installing the kernel would have been a "Bad Thing"TM <12> nah <12> it would be fine unless the interruption happend during the running of lilo <11> ya.. not sure at what step it removes the old kernel, whether that's before or after installing the new one.. or before or after running lilo <3> Hi Ikarus_ <13> off to YAPC, TTFN <3> linuxnohow: bye, have fun. <3> What's TTFN <3> perlbot is still ofline. <14> tata for now <3> blondie: are you going too? <14> no <3> blondie: oh, I see. <3> I wonder if my co-worker went to YAPC::NA. He's American. <3> But we're working with PHP at work. <3> Which is what I'm writing a use.perl.org journal entry on. <8> perldb-- # wtf doesn't it use the same commands as gdb?! <3> integral: my sentiments too. <3> integral: did you look at Devel::ebug. <3> integral: did you see the bug I found in it on perl5-porters? <3> I wonder if anyone replied. <3> I didn't receive any replies to my inbox. <8> p5p is funny <3> No, none. <3> Hmmmpf... <3> And it's reproducible (at least on my system). <3> Maybe I should report it using perlbug <3> I originally found it when trying to debug Module::Build. <3> Whose code seems readable. <3> Then I discovered it was a bug in the onfig, or an incompatiblity. <3> Which exists in both Fedora Core 5 and Mandriva 2006. <8> using perlbug is good. There's a regular report of open tickets so until someone does something about it people get nagged <3> And doesn't exist in a plain sh Configure -prefix=... . <3> integral: OK. <3> integral: it's also exhibited in Devel::ebug. <3> So it's probably in the perl core. <3> I used to think that perl just worked and was bug free. <3> Nowadays I'm discovering more and more bugs. <3> But maybe I'm becoming a more advanced programmer. <3> And so my code is more complex. <3> Sorry for the long monolgues. <3> integral: you are welcome to join #lisp-il. <8> I don't program in lisp <3> It's much less hostile than #lisp. <3> integral: don't you know Lisp? <8> closures have long been bugged, and guess which programmers use those more :) <3> Or Scheme? <3> I like closures. <8> rindolf: oh, I can write code in Lisps, but I do not program in it. <3> integral: yes. <8> I only do Perl, Haskell and C currently. <3> integral: well, #lisp-il is not really about Lisp. <3> Well we are lisp-oriented, but we also discuss other stuff. <3> integral: I see. <8> meh, I discuss stuff to much. doing is much better. <3> integral: I don't recall when was the last time I did a lot fo Haskell programming. <3> integral: yeah. <3> I always log off the IRC when I'm trying to get something done. <3> The IRC is too distracting. <3> I don't have a lot of discipline.
Return to
#perl or Go to some related
logs:
#math RaConfig2500 segmentation #mysql #debian obutu linux /dev/hdb1: Invalid argument passed to ext2 library while setting up superblock activate dma gentoo not permitted #lisp #ubuntu #python
|
|