#perl
03 October 2007
Total 41 pages. You are browsing page 2/41.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
02:05 <****> imMute, it matches the whole string instead of "a xxxx b" = what i want.. do i need to use (.*?) and $1 instead,. i'm lost
02:05 <****> how do you know?
02:05 <****> what variable are you using?
02:07 <****> i want it to match only "a xxxx b" NOT the whole string.
02:07 <****> HOW DO YOU KNOW IT MATCHES THE WHOLE THING?
02:08 <****> i print it ofcourse
02:08 <****> the result
02:08 <****> well then what do you expect? // only matches
02:08 <****> $foo =~ //; doesnt change $foo
02:08 <****> if you want a subset of the match, you need to use () and $1 $2 etc
02:09 <****> eval $s ="a xxxx b blah blah"; $s =~ m/(a.*?b)/; $1
02:09 <****> DSterling: ''ERROR: 3670: Search pattern not terminated at (eval 213) line 1.
02:10 <****> ok. thanks
02:11 <****> that's an odd error, buubot...
02:13 <****> DSterling: eval : note the :
02:22 <****> GumbyBRAIN: Every time you eat a steak, a hippie's hackeysack falls into the gutter.
02:22 <****> Gives you a bad time.
02:22 <****> eval: $s ="a xxxx b blah blah"; $s =~ s/(a.*?b)/$1/; $s
02:22 <****> Zoffix: a xxxx b blah blah
02:22 <****> one little mistake... :)
02:22 <****>_<
02:22 <****> Not my day today.... definitely..... like the whole damn day ~_~
02:23 <****> uh, forgive my noob, but wouldnt $1 be the same thing thats being replaced... so the string is staying the same?
02:23 <****> ooo
02:23 <****> thats your mistake
02:23 <****> yeah :)
02:23 <****> xD
02:26 <****> o/~ That was my mistake, that was my mistake o/~
02:27 <****> eval: $spam = "a b c d e"; $spam =~ s/ +/ /; $spam
02:27 <****> UnknowVector: a b c d e
02:29 <****> eval: $spam = "a b c d e"; $spam =~ s/ +/ /g; $spam
02:29 <****> Zoffix: a b c d e
02:30 <****> awesome
02:31 <****> "fastfinger" at 202.79.62.18 pasted "nothing gets printed, i mean the $buf" (20 lines, 367B) at http://sial.org/pbot/27851
02:31 <****> Hi!
02:31 <****> Are there any good video tutorials on perl?
02:31 <****> No.
02:31 <****> GumbyBRAIN, he who gets assed ever will never ask it the right way ...
02:31 <****> Ever try to shoot people who ask.
02:31 <****> lol
02:31 * fastfinger pets pasteling :P
02:31 <****> heh
02:32 <****> connecting gets printed?
02:32 <****> or nothing-nothing?
02:32 <****> connecting gets printed
02:32 <****> then its nothing, and i just keep on waiitng :<
02:32 <****> {print $_;}"?
02:33 <****> maybe nothing is coming?
02:33 <****> okey.
02:33 <****> that shouldnt be any different just btw
02:33 <****> well, it should.. when i connect to it through telnet i get plenty opf stuff
02:34 <****> try connecting somewhere else to see if its the code?
02:34 <****> GumbyBRAIN, massa oh massa you exorbitzhisted me
02:34 <****> Oh you got me.
02:34 <****> okey.
02:34 <****> try freenode
02:34 <****> it gives alot of stuff
02:34 <****> GumbyBRAIN, hey hooo. whasssuuup?
02:34 <****> Hooo hooo hooo!
02:35 <****> GumbyBRAIN, at leas it's fair to give the wrong answers in irc...
02:35 <****> What happened to the answers.
02:35 <****> thing gave an error.
02:36 <****> lol
02:36 <****> hehe nice one
02:36 <****> hmm
02:36 <****>)
02:36 <****> sorry
02:37 <****> :p
02:37 <****> heh
02:39 <****>.<
02:39 <****> not the code then
02:39 <****> i dont suppose telnet is sending something that you arnt accounting for
03:06 <****> hello. Does DBD-mysql-4.005 require access to mysql? I made a database named 'test', but it doesn't seem to like that. Anyone have any pointers?
03:06 <****> need more info
03:07 <****> Well okay. Let me try some more. Maybe I could manually set the database username and password somewhere in there so it can access it.
03:07 <****> dusty: I'm pretty sure you can disable the actual database tests.
03:07 <****> BUU
03:07 <****> Shit.
03:07 <****> BUUUU!
03:07 <****> Who?
03:08 <****> dwu: So anyway, about those movies..
03:08 <****> buu: *cry*
03:08 <****> oh you mean the tests?
03:08 <****> buu: Stop abusing me *snif*
03:08 <****> dwu: Why?
03:08 <****> buu: Look, unless this is, like bdsm type abuse :)
03:09 <****> dwu: It might be.
03:09 <****> dwu
03:09 <****> buu
03:09 <****> who?
03:09 <****> how am i supposed to tell the difference
03:09 <****> buu: It hasn't been.
03:09 <****> Jmax
03:09 <****> dwu: Is there a difference?
03:09 <****> i thought buu was talking to hisself again
03:10 <****> dwu: And actually..
03:10 <****> I am just trying to ctelnet and brint what the server says :/ you would assume that to be easy..
03:10 <****> buu: Actually... what?
03:10 <****> telnet and print?
03:10 <****> man nc
Total 41 pages. You are browsing page 2/41.
First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last
