| |
| |
| |
|
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
Comments:
<0> GumbyBRAIN: nuts <1> I almost always ****ing going nuts on that i convert a phpbb forum to a remote machine? <2> perlbot zig <3> Hi Woosta <4> mornin' <3> Woosta: it's half past midnight here. <3> Woosta: I'm awake late. <4> What's not morning about that? :-D <5> half past midnight does not qualify as late. :)) <5> tr/)//s; <3> Ani-_: it's all relative. <5> eval: $_="))";tr/)//s;$_; <6> Ani-_: ) <7> hi <8> "lunaphyte" at 71.120.128.10 pasted "#!/usr/bin/perl $first_output" (5 lines, 291B) at http://sial.org/pbot/19580
<7> i'm wondering how i can simply the above, so each of the 2 commands only needs to be run once. <9> @lines_of_output = `command -flag file.txt`; <9> my $first_line = $lines_of_output[0]; <10> $one = join '', @one = `cmd`; <9> does anyone know why both Net::IRC and POE::Component::IRC bots seem to disconnect after a period of about 5 minutes? <9> with merely "connection reset by peer" as the quit message <10> sparkman: $first_output has entire multiline string answer <10> sparkman: you peer doesn't like you :) <9> :( <9> it works perfectly in irssi <10> sparkman: missing or incorrect PONG ? <11> hey <9> i don't know <11> how do i add something to @INC <9> perlbot @INC <12> to change @INC (perldoc perlvar), recompile perl, or set the PERLLIB or PERL5LIB environment variable (perldoc perlrun), or use the -I option to perl (perldoc perlrun), or 'use lib' (perldoc lib) or fiddle with @INC (don't) <10> use lib ... <11> cant i use push somehow? <9> tybalt89: well i don't know; i imagine that the frameworks can handle that ok <9> Master_Medic: yes, but don't <10> Master_Medic: you can, but why? <11> i have a file called add.pl in ./ <13> sparkman: Turn on a debugging flag and watch the you<->ircd interaction. <11> and i want to require it so that i can use its functions <11> like require ./add.pl; <11> but it says add.pl is not in @INC <11> so i figured if i add ./add.pl to @INC it will work <14> Master_Medic: @INC does not work like that, it is a list of directories, not files. <14> hahahah <9> dngor: ok, which POE %ENV debug flag should i use? <14> This person just got ******inated with a dart fired by a harp. <13> sparkman: I was thinking about the one documented in POE::Component::IRC. <10> perl -le 'require "./add.pl"; print 42' # works fine <9> ok, thanks <11> oh <10> Master_Medic: forget quotes? <11> yeah i got it <11> okay nvm <11> how do i read arguments into a string? <11> like if i say ./perl.pl here are some parameters <15> Master_Medic: @ARGV <10> EREPHRASEQUESTION <14> Master_Medic: @ARGV <11> okay <14> Master_Medic: Or better yet, go read beginning perl. <16> buu, that a big book. <14> Not really, no. <16> there are 2 book on it. <14> Um, what? <17> that guy is so random <18> hi in an array with 9 element how to erase number 6? please <14> r3m: splice <5> r3m: perldoc -f splice <6> r3m: Type 'perldoc -f splice' in your shell or go to http://perldoc.perl.org/functions/splice.html <18> thanks <18> can i just put the undef value to the 6 element? <14> RTFM with the die! <5> If you place undef in $array[6] then the array still holds 9 elements. <5> undef is a valid value.
<11> whats the equivalent of implode in php? <11> like turning an array to a string? <19> can someone check http://vdiddy.bounceme.net/ and see if its connectable? <15> "@array" <15> :) <11> okay :] <15> or join() <15> i hate it when people ask for stuff from PHP <20> simcop2387-vnc, 403 <15> THIS IS ****ING PERL - YOU LEFT PHP BACK THERE! <19> Zoffix: perfect, working great :) (i have apache setup to do that to the root so that robots don't index it) <19> and to screw with kiddies <20> ^_^ <19> https:// should do that too :) <21> imMute: The solution is easy. <21> Just make **** up. They're PHP kiddies, they don't know the difference. <14> ew73: hahahaha this movie is awesome. <15> ew73++ <21> buu: Which movie? <14> ew73: In like flint. <15> i wonder if there is such a thing as a "Perl kiddie" <21> imMute: HALP HOW DO I MAKE AN IRC BOT <10> best line in a movie, ever: "Hey, you scratched my anchor!" <22> How I coded for IRC bot? <15> ew73: im really close to asking the author of Net::IRC if I can have control of it now <15> ew73: and implement the thing in PCI <21> imMute: That'll show 'em! <21> Or. <21> Just 'ln -s ../poco-irc net-irc' <5> Is that backwards compatible? <14> ew73: Satanism. <11> i want to p*** "blah >= '5'" to this file perl.pl <11> how come i cant do ./perl.pl "blah >= '5'" <15> who says you cant? <11> well just to test it <10> perlbot: doesn't work <12> What do you mean it doesn't work? What happens when you try to run it? What's the output? What's the error message? What did you expect to happen? We need more information to help you. <11> i did $condition = "@ARGV"; print $condition; <11> and it doesnt print anything <11> umm nvm <11> its owrking for some reason now <23> where can i find a good beginner book/site for perl witch really take it from scratch, not just rush into it? <10> perl -le '$condition = "@ARGV"; print $condition;' "blah >= '5'" # works fine... <10> perlbot: tutorial <12> http://perlmonks.org/index.pl?node=Tutorials | http://perl.com/cs/user/query/q/6?id_topic=74 | http://learn.perl.org/ | http://books.perl.org/onlinebooks | http://perl-begin.berlios.de/tutorials/ | http://learn.perl.org/library/beginning_perl/ <21> Ok. Today's lesson. It's not safe to wake up, and shop online in your underwear while eating breakfast. <21> The delivery guy came and I seem to have ordered like $10 worth of yogurt. <14> Delivery guys and yogurt eh? <21> When I say "guy", in this case, it was a very butch woman, who, I think, I saw at "Dykes on Bikes". <14> Awwh, how cute. <21> I was afraid to ask though. She might have riped my penis off. <14> ew73: This movie is entertaining. <21> buu: I'm glad you like it. <14> ew73: This is good. <14> Argh, mplayer, you ****. <21> Jesus tap-dancing christ. aptitude had half my system on hold for some reason. <15> http://thedailywtf.com/forums/thread/76418.aspx # youve got to be ****ing me - i would let them drop the client <11> curl --form 'email=blah' --form 'p***word=blahh' "URL" <11> i was wondering how to do this in perl/ <24> Master_Medic - WWW::Mechanize is your friend <24> with that, you can simulate a browser <24> go to a page, fill out a form, post it, get the content back <11> kewl <15> Master_Medic: for the love of god, lose the AOL vocab <21> imMute: asl??? <11> sorry <25> buubot, Cl***::Accessor <6> amnesiac: Cl***::Accessor is probably most common. <24> Ugh. my plantronics headset has some sort of short in the wiring <24> can't post my podcast without driving to some store. :( <24> what are the names of places like "best buy"
Return to
#perl or Go to some related
logs:
#javascript #debian setfont+fedora+dataflex #python #lgp #web #python #perl Cannot access repository dir #mysql
|
|