| |
| |
| |
|
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 25 26 27 28 29 30 31 32 33 34 35 36
Comments:
<forsaken> use lib "$ENV{HOME}/myperl/lib";use lib "$ENV{HOME}/myperl/lib"; <forsaken> its getting included correctly <forsaken> Can't locate Finance/YahooQuote.pm in @INC (@INC contains: /myperl/lib in the webserver error <forsaken> u35694176:~ > l ~/myperl/lib/Finance/ <forsaken> -rwxr-xr-x 1 u3569417 ftpusers 17494 Jul 17 2005 YahooQuote.pm* <revdiablo> $ENV{HOME} doesn't appear to be defined <torbjorn> what would be a nice way to achieve an arping as a normal user? <forsaken> ah <forsaken> duh <torbjorn> the arping sys command requires root, and the whohas/arping modules on cpan do <Chris62vw> so what happened anyway? freenode was attacked by North Korean terrorists? <ayrnieu> Chris - I blame GNAA. <ayrnieu> Chris - http://tgmandry.blogspot.com/2006/06/worlds-largest-foss-irc-network.html <Chris62vw> cool <simcop2387> i don't understand the GNAA at all <Chris62vw> what don't you get? <Chris62vw> the best thing about this "Attack" is that there were cries for more money in the middle of the other global notices <Chris62vw> more money so people can sit at home and irc instead of being smart and savvy enough like the rest of us who have jobs we can irc from <AI_coder> Is that GNAA anything like gnaa.on.nimp.org? <goldfish> yes. <simcop2387> www.gnaa.org i think it is <goldfish> stfu plz AI_coder <goldfish> gnna deserve to be raped by horses 24 hours a day <goldfish> *gnaa <simcop2387> goldfish: all *aa do <goldfish> :) <avar> It's an ***ociation for gay niggers, what is there not to understand? <AI_coder> Oh, so nobody has ever visited that gnaa.on.nimp.org then I guess. <simcop2387> hmm i wonder what happens if someone tries to open #gnaa <ayrnieu> simcop - Freenode had it as a deathtrap for a while, I think. <Chris62vw> simcop2387, try it. you don't get banned. it just says something like "wtf you joining here?" <simcop2387> hehe <Chris62vw> or it moves you to #what_are_you_thinking <Chris62vw> something very gay <Chris62vw> let's try <simcop2387> you first <pasteling> "Chris62vw" at 69.34.101.137 pasted "I joined #gnaa" (8 lines, 677B) at http://sial.org/pbot/17980 <Chris62vw> big deal. <avar> Ceiling Cat is not amused <goldfish> heh <ew73> What, exactly, is gnaa? <gmitchel> should s/(\(.*\))/\s/g; substitute any phrases in () with a whitespace? <torbjorn> no. what is a white space? <torbjorn> whitespace is no character <torbjorn> would you expect /pattern/./ to substitute to "any character" ? <gmitchel> no, it wouldn't know what character i suppose <ayrnieu> it doesn't what whitespace you mean, either. <torbjorn> eval: ($_="foobar")=~s/o/\s//g; $_ <buubot> torbjorn: Error: Illegal division by zero at (eval 130) line 2. <torbjorn> eval: ($_="foobar")=~s/o/\s/g; $_ <buubot> torbjorn: fssbar <adante> when i run perl with -T, i can't require "randomlib.pl" - what's the proper practice to get around this? <dazjorz> Welcome me back into your hands! <dazjorz> I almost cheated on Perl to do some Java programming... :( <dazjorz> Almost? <dazjorz> I actually DID program a full Dazbot in Java! <dazjorz> See? <dazjorz> and the ONLY THING IT CAN DO... <dazjorz> is... <dazjorz> time <Dazbot> dazjorz: The time is now Mon Jun 26 02:55:34 CEST 2006 <dazjorz> >_< <dazjorz> Time! <dazjorz> Time <Dazbot> dazjorz: The time is now Mon Jun 26 02:55:39 CEST 2006 <dazjorz> TIME <Dazbot> dazjorz: The time is now Mon Jun 26 02:55:41 CEST 2006 <dazjorz> gah. <dazjorz> ****ing thing. <adante> tImE <dazjorz> Back to Perl :) <dazjorz> Net::IRC is bettah. <dazjorz> is there also an IRC module for POE? <dazjorz> Got it :) <amnesiac> o.O? <AI_coder> Is anyone familiar with HTML::Mason? <zamolxes> aaaaaaaaaaaa <dec> perlbot: ask <perlbot> Ask forth your question to the all-knowing channel and we shall bestow upon you the answer of correctitude. <AI_coder> zamolxes: Hey, I'm must pick at your brain again today :D <dazjorz> aww <dazjorz> POE::Component::IRC can't handle more than one IRC server >_< <dazjorz> then I gotta program my own thingy. <pravus> dazjorz: ?? i should be able to... i believe i have done it <dazjorz> You made it? lol <pravus> dazjorz: just ->spawn() two PoCo-IRC instances <dazjorz> Chris Williams.. <pravus> no, that's BinGOs <dazjorz> Oh! <AI_coder> Ok, I'm about to do something in like this: <%init> ... unless ( $cookie ){ $error = "cookie"; goto END; ... END: </%init> <dazjorz> zom <pravus> i was talking about connecting to two servers at once <dazjorz> zomg** <dazjorz> yea <dazjorz> oh okay <dazjorz> will do that <AI_coder> Is there a better way to "return" from a <%init> section? <AI_coder> The return keyword appears to affect the entire component rather than the section. <Chris62vw> that is hilarious. AI_coder is about to use goto in a bad way <Chris62vw> he should /nick SUPID_coder <dazjorz> omg <dazjorz> Chris62vw: get over it! <Chris62vw> there <dazjorz> good <dazjorz> now stay htere <dazjorz> there* <dazjorz> don't tase AI_coder, he'll tease you bac <dazjorz> back** <dazjorz> geez I can't type today <AI_coder> zamolxes: Any ideas? <zamolxes> AI_coder: why the hell do you use mason? :) <AI_coder> Why do you ask? <zamolxes> i just had to ask :) <zamolxes> what are you actually trying to do? <zamolxes> this seems like a clear case of xy problem <dazjorz> omfg <AI_coder> Basic session handling. <dazjorz> why are all these IRC modules so ****ing unhandy <dazjorz> POE::Component::IRC would've been great <dazjorz> but it uses this... very non-POEish way of life <dazjorz> what the heck is "package_states" supposed to mean? <dazjorz> package_states => [ <dazjorz> 'main' => [ qw(_default _start irc_001 irc_public) ], <dazjorz> ], <Chris62vw> I bet its like a dispatch table thingie <dazjorz> I never saw that in a POE::Session <Chris62vw> those would be the allowable dispatch thingies <pravus> dazjorz: then maybe you should read the POE::Session perldoc <AI_coder> zamolxes: No ideas then? <pravus> dazjorz: there are inline_states, package states, and object states <dazjorz> pravus: I know <dazjorz> pravus: I saw package_states on the POE::Session CPAN page earlier <dazjorz> but I never used it... <dazjorz> pravus: do I _have_ to use it for this module? <pravus> generally no <adante> does perl have an XOR logic operator <adante> like || and && <AI_coder> No. <zamolxes> AI_coder: looked at this http://www.masonbook.com/book/chapter-11.mhtml#TOC-ANCHOR-1 ? <pravus> create a session that acts as a wrapper to the PoCo-IRC object <dazjorz> Yes it does <dazjorz> adante: It does <dazjorz> adante: spell it 'xor' <adante> thanks dazjorz <dazjorz> eval: print "yes" if 1 xor 0 <buubot> dazjorz: yes 1 <pravus> you can use object_states, inline_states, or package_states... in the end, states are states <dazjorz> eval: print "yes" if 1 xor 1 <buubot> dazjorz: <dazjorz> adante: I think 'or' and 'and' are nicer in an if
Return to
#perl or Go to some related
logs:
bind-tools ubuntu linux to empty mailq #css #linuxhelp #math #perl odin_ fatal error
mathematica inorder enable to read superblock Kernel panic: VFS: Unable to mount root fs bws squirrelmail
|
|