@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info


Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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



Comments:

<jdv79> shes gay
<Woosta> Doesn't rule out hotness ..
<jdv79> she can be
<MrEntropy> how can i get output from the backticks (shell command) line by line?
<jdv79> @out = `$cmd`; - like that?
<MrEntropy> jdv79: will that separate by line?
<jdv79> yeah
<drag|on> thanks woosta btw
<gghoul> print join( ', ', map{ (split(/\s+/, $_))[0] } (split(/\n/,$psList))[8-] ); how do i specify [8-end of input]. whats the [ ] operator called
<MrEntropy> jdv79: ok, thanks
<gghoul> MrEntropy: you could use split /\n/
<buu> gghoul: -8 ?
<jdv79> gghoul: do it another way
<gghoul> buu i'm trying to do [8-Enf of input] like [8,9,10, etc]
<gghoul> whats the [ ] operator called like (1..4) is the range operator
<perl_contractor> is [] and operator? what does it do?
<buu> gghoul: It doesn't have a name
<buu> What you want is: -8 .. -1
<perl_contractor> the list reference maker ?
<buu> Er,
<buu> Never mind, what you want isn't possible
<jdv79> no
<buu> ***ign to an actual array.
<jdv79> yeah, he can go about it another way
<encryptio> buu: reverse()
<encryptio> it is possible =p
<buu> encryptio: No, it isn't.
<encryptio> if it's -8..-1 it's possible
<jdv79> splice would make it simple
<encryptio> if it's 8..-1 it's not
<buu> encryptio: It is the latter and it isn't.
<Woosta> could always put a ($count++ > 8) ? (split..)[0] : () inside the map ..
<jdv79> hobbs: what do you do then
<jdv79> ?
<hobbs> jdv79: I program computers on the internets!
<hobbs> jdv79: they pay me to sit across from buu
<gghoul> i gtg sis wants the comp :( this is for my emule downloads..start the dl at 2am and snapshot my process's then at 8am if that hasn't changed i'll shutdown the computer..so if someone decides to use the comp at 7 and starts up excel it wont clobber it
<gghoul> many thanks all of you!!!!!!
<jdv79> hobbs: i guess somebody has to be able to handle it
<hobbs> The rain stopped for a while. I'm going to go to the store ;)
<jdv79> beth: knitting is for old ladies;)
<simcop2387> jdv79: quilting even moreso!
<xerophyte> say for example i have moudule located in different location in linux how can i tell the os to use that modules in mean how can i add to INC vars so all toher app will see
<Woosta> AFAIK @INC is set at compile time ..
<encryptio> use lib '/path/to/foo';
<encryptio> before using your modules
<Woosta> So put it in there somewhere or you need to use lib in every script that uses that module
<thrig> perlbot: set inc
<perlbot> 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 (not recommended)
<jpeg> push(@INC, '/path/to/wherever/');
<Woosta> compile time == perl compile time
<encryptio> jpeg: won't work unless another thing is added
<jpeg> what do you mean by 'another thing'?
<encryptio> jpeg: BEGIN { }
<Woosta> And don't do that .. just 'use lib'
<encryptio> jpeg: otherwise that will be evaulated after all the use() lines
<Woosta> You'd also want to unshift it rather than pushing it ..
<jpeg> encryptio: i push my custom dir and then use the modules therein. It executes in the order the statements are given.
<encryptio> jpeg: no, it doesn't.
<encryptio> jpeg: not without a BEGIN { } block
<Woosta> And if Blah.pm is already in @INC, then pushing yourDir to get your own Blah.pm doesn't work. You need to unshift it.
<tag> anyone know how to make nautilus use a socks proxy for file shares and etc?
<godling> GumbyBRAIN: I can't believe I ate the whole thing!
<GumbyBRAIN> Can't you get older....beans are just the thing!
<jpeg> empirical evidence suggests otherwise.
<simcop2387> GumbyBRAIN: tags mother washes your mouth out like hitler
<GumbyBRAIN> Make cover spits it out like hitler.
<jpeg> ah, . is in @INC, that's why
<tobmoox> ahhh dont say that name
<godling> tobmoox: tag?
<tobmoox> racist
<simcop2387> tobmoox: anything said to or by GumbyBRAIN should never be taken as serious
<godling> how does saying hitler's name make one a racist?
<tag> huh?
<tobmoox> via perl
<simcop2387> ...
<frogbot> ....
<MrEntropy> how do i p*** an ***ociative array to a function?
<tobmoox> p*** the reference i think
<godling> MrEntropy: You need rubber gloves, some vaseline, and a shoehorn
<simcop2387> MrEntropy: two ways, p*** a reference, or don't, p***ing a reference is safer and easier to deal with
<simcop2387> perldoc perlreftut
<buubot> perlreftut - Perl references short introduction. To access this perldoc please type, at a command line, 'perldoc perlreftut'. You may also find it at http://perldoc.perl.org/perlreftut.html
<mithenks> perldoc is a ray of sun in our darkness
<godling> GumbyBRAIN: I have a rocket in my pocket.
<GumbyBRAIN> Pravus - oh, well in my pocket.
<simcop2387> GumbyBRAIN: you don't have to tell me that sir
<GumbyBRAIN> don't use the analog outputs though, which was not me sir.
<MrEntropy> simcop2387: like: %foo = ("bar", 3); p***($foo); sub p*** { print($_[0]{"bar"}); } ?
<simcop2387> MrEntropy: you need a -> in there $_[0]->{"bar"}
<godling> perl7 will make use of telepathy
<godling> it will rule
<MrEntropy> simcop2387: oh, right. thanks
<godling> you will be able to construct the regex IN YOUR MIND
<simcop2387> eval: %foo = ("bar", 3); ub p*** { print($_[0]{"bar"}); }; p***($foo);
<p5evalbot> simcop2387: Error: syntax error at (eval 107) line 1, at EOF
<simcop2387> eval: %foo = ("bar", 3); sub p*** { print($_[0]{"bar"}); }; p***($foo);
<p5evalbot> simcop2387: Return: 1
<simcop2387> eval: %foo = ("bar", 3); sub p*** { print($_[0]->{"bar"}); }; p***($foo);
<p5evalbot> simcop2387: Return: 1
<simcop2387> hrm
<simcop2387> wait
<simcop2387> eval: %foo = ("bar", 3); sub p*** { print($_[0]->{"bar"}); }; p***($foo);
<p5evalbot> simcop2387: Return: 1
<simcop2387> eval: %foo = ("bar", 3); sub p*** { print($_[0]->{"bar"}); }; p***(\%foo);
<p5evalbot> simcop2387: 3Return: 1
<simcop2387> stupid enter key
<godling> simcop2387: just remove it!
<simcop2387> references are made via \
<simcop2387> or like this! my $hashref = {bar => 3}; my $arrayref = [1,2,3,4];
<godling> simcop2387: you can make it do a carriage return WITH YOUR MIND
<sili_> hey bitches
<simcop2387> GumbyBRAIN: sili called godling a bitch, hurt him
<GumbyBRAIN> But godling is not a him.
<simcop2387> BWAHAHA
<godling> ...
<sili_> hahaha
<sili_> GumbyBRAIN: you rock!
<GumbyBRAIN> oh. I guess. I could use a unix system where they are in the array reference, when this is wrong: print "addition to /etc/shadow is like rock in rock-paper-scissors. Nothing beats rock.
<godling> GumbyBRAIN: You are the only friend simcop2387 has.
<sili_> paper beats rock :(
<GumbyBRAIN> My friend has one and only!
<godling> sili_: in soviet russia, rock beats you!
<hobbs> Good ol' rock.
<godling> sili_: I don't think an op is allowed to call the channel members bitches.
<godling> sili_: Isn't that against channel policy?
<hobbs> We have channel policy?
<godling> hobbs: didn't you get the memo?
<hobbs> As far as I know the channel rules are "No pasting" and "Rule 6: This is not a rule."
<sili_> godling: ops do what they please, bitch.
<thrig> and the 18th rule involving snaping turtles
<sili_> what's a snaping turtle
<sili_> isn't snape the guy in harry potter
<thrig> a turtle that snaps
<sili_> you mean a turtle that snapes?
<thrig> nope, like a slow pit bull with a shell
<simcop2387> GumbyBRAIN: asl
<GumbyBRAIN> Is learning perl if you tell the amount of customers that can have asl return the correct behavior.
<sili_> huh.
<godling> sili_: I did what I pleased.
<hobbs> thrig thrig thriggity thrig
<godling> WITH YOUR MOM
<simcop2387> hobbs: basically if they piss someone off we enact justice on both parties involved
<simcop2387> ban them both, the annoyer for being annoying, and the anoyee for being a *****
<hobbs> We're gonna make these old rafters ring with a thrig thrig thriggity thrig
<godling> GumbyBRAIN: I saw your mommy and your mommy's dead.
<GumbyBRAIN> none error message. I've begun my code and it breaks somewhere else. I'll play around it, you can just check out your engine?
<hobbs> GumbyBRAIN: I fought the law and the law won
<GumbyBRAIN> His schemes into effect, and of the law.
<hobbs> GumbyBRAIN: Deep into the darkness peering, long I stood there, wondering, fearing, doubting, dreaming dreams no mortals ever dared to dream before


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #perl
or
Go to some related logs:

#perl
ftponly Ubuntu
#oe
paste hash function perl
enforcing mode requested but no policy loaded
php checking whether IMAP works... no
#mysql
#gimp
irc passwordschannel
rpm graphical sudo



Home  |  disclaimer  |  contact  |  submit quotes