@# 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 31 32 33 34



Comments:

<0> perlbot rot13 WNCU
<1> JAPH
<0> perlbot rot13 rot13
<1> ebg13
<0> perlbot rot13 abcdefg
<1> nopqrst
<2> r3nd3r: CEASE AND DESIST YOUR SPAM
<0> sorry
<3> perlbot rot13 CEASE AND DESIST YOUR SPAM
<0> bored :/
<1> PRNFR NAQ QRFVFG LBHE FCNZ
<0> looks like a winxp serial no.
<4> ...
<0> cdkey
<5> destroy(r3nd3r)
<0> :-o



<0> lets play pong
<0> | .
<4> (watch it, the person who said to "CEASE AND DESIST" has teh +o)
<0> :-<
<0> Botje are you south african ?
<6> Hello, How is perl with unicode? especially for generating webpages?
<7> eXistenZ: pretty good.
<8> fine. perldoc perlunicode
<9> perlunicode. To access this perldoc please type, at a command line, 'perldoc perlunicode'. You may also find it at http://perldoc.perl.org/perlunicode.html
<6> rindolf, better than python even?
<0> eXistenZ, perl has excellent support for unicode
<7> eXistenZ: if you're using perl 5.6.x+ and espeically 5.8.x.
<7> eXistenZ: I didn't work with Unicode in Python.
<6> rindolf, I'm quite confused between PHP and Perl. Some say PHP has many security bugs.
<0> eXistenZ, me too. im scared of snakes
<7> eXistenZ: well, many PHP applications have a bad record in regards to security bugs.
<0> eXistenZ, rather than taking other peoples opinions, i suggest u actually try out the languages yourself and see which one suits your requirements
<7> eXistenZ: the backend itself alos had a bad security record.
<10> the security thing could be said for any language used on the web
<6> r3nd3r, Take amazon for example, what kind of language does it use?
<5> eXistenZ: Take /. for example ;)
<6> :]
<4> PHP is a dictionary of functions more than a language, python reduces programming to the lowest common denominator by eliminating simple concepts, like context, perl and ruby for teh win.
<0> eXistenZ, no idea. cant buy anything on amazon where i live.
<4> /. is a bad, bad example of a perl project~
<4> slash is notoriously hard to maintain
<4> it was a framework that was never adopted by a non-slashdot site
<4> But it has its own o'reilly book!
<0> everything has an o'reilly book
<11> Slash is a bad example, but it is also exactly what /. needs.
<12> eval: "yes" if "html_layout" =~ /^[\w\d\.\_\-]+$/;
<9> dazjorz: Return: yes
<12> hmm
<12> my computer returns 0 on that
<13> normally %hash = @$ref_array works fine, how to def @$ref_array directly to a hash ?
<13> got : Can't coerce array into hash when %{@$ref_array}
<14> heng: @$ref_array is a list.
<14> well, an array
<15> you're trying to dereference it...
<12> how do I change any character not matching to [\w\d\.] to a _ ?
<14> heng: perhaps you want: %{{ @$ref_array }}
<14> heng: but I'd certainly like to know why you want to do that?
<0> why dont they reveal which irc channels those quotes from bash.org are from ?
<14> dazjorz: do you know how to use s/// ?
<15> dazjorz: s/[^\w\d\.]/_/g
<12> Prof_Gankington: My bad. Sorry.
<14> dazjorz: and \w CONTAINS \d, so [\w\d] is redundant
<13> Prof_Gankington: thanks, I just dont want to ***ign it to a temp hash var, hehe :-p
<14> s/[^\w.]/_/g;
<14> heng: what are you doing with it, though?
<12> eval: "yes" if 'd' =~ /\w/;
<9> dazjorz: Return: yes
<12> Prof_Gankington++ #didn't know that
<14> dazjorz: \w is [a-zA-Z0-9_]
<12> I thought about tr///, I thought it wasn't possible in s///
<12> my bad...
<15> eval: '0' =~ /\w/;
<9> stuuf: Return: 1
<13> Prof_Gankington: got $VAR1 = 'ARRAY(0x84bd59c)' when dump it out
<14> dazjorz: tr/// doesn't "understand" \d and \w and \s
<13> just curious how to avoid ***igning it to a temp hash :-)



<13> sorry, sorry
<13> worked fine :-)
<14> heng: no, it's important.
<14> heng: if you're doing: for (keys %{{ @$arrayref }}) { ... }
<14> that's one thing
<14> but if you were using the each() function, you'd be out of luck
<14> dazjorz: tr/a-zA-Z0-9_./_/c;
<14> dazjorz: that accomplishes the task with s///
<14> err, with tr///
<13> I am doing it like : %hash=@$ref_array; join("&",map { "$_=$hash{$_}" } keys %hash), in this way, I have to use a temp hash %hash
<16> is there any equivelent to odbc_tables() in DBD::ODBC.
<12> Prof_Gankington: Yes, I was thinking about that, didn't even _think_ about s/// - I was thinking of single-character replacement and stuff
<16> I cant find one but my search skills may be lacking
<14> heng: well, you NEED that temporary hash, because your map() block uses it.
<17> question: i have a script using Authen::Radius ...this moduled is in the correct directories..yet when squid tries to run the script i get Can't locate Authen/Radius.pm
<13> o, yes, yes, u r right , :-)
<18> heng: in perl6 it would be join "&", map -> $a, $b { "$a=$b" } @$ref_array; :-)
<13> figured that I cant use map without that temp hash, hehe
<14> unless you did this: { @$ref_array }->{$_}
<14> which is SUPER TERRIBLE OVERKILL
<13> PerlJam: oops, :-p, when it will be oout ? :-)
<14> heng: not in your lifetime
<13> haha
<14> I mean, in a couple years, I hope.
<17> is there something special i need to do as the squid proxy has a /sbin/nologin shell
<18> heng: the standard answer is "by christmas" (of some unspecified year)
<15> duke nukem forever will be written in perl6
<13> PerlJam: hahaha
<14> stuuf: actually, duke nukem forever is a built-in functionality of perl 6. so I guess you could say it's "written in perl6". it's "written into perl6"
<13> RossWrk: you mean disable shell access to the account running squid daemon ?
<0> PerlJam, nice nick :D
<17> heng: when I run this script from command line it runs fine...however when squid runs it...it can't find Radius.pm
<18> r3nd3r: I've thought so for about the last 14 years
<15> RossWrk: does the "@INC contains..." part of the error look right?
<0> PerlJam, are u actually a pearl jam fan ?
<18> r3nd3r: not really
<18> I predate them
<0> lol k
<17> ya...it contains all the perl directories....and the Radius.pm is in them
<13> RossWrk: squid account still have shell access, right ?
<17> squid has an /sbin/nologin
<17> http://www.devet.org/squid/proxy_auth/contrib/auth.pl
<13> o, then it has not env
<13> envar
<17> there is the exact script
<13> en, since squid account has no shell access then neither does it has env var to access perl module,I guess
<13> 2 ways: 1. dont run this script under squid account. 2. open shell account for squid
<13> you can verify it by temporarily enable shell access to squid account and run it manually under it
<17> even if the shell account for squid is changed to bash it still can't find it
<4> h4llo.
<13> under squid account, I mean, not under your own account
<18> heng: btw, how badly did you want to get rid of that temporary hash?
<13> PerlJam: just curious, how to write Perl Jam ? :-p
<13> by using all those symbols :-p
<18> because there *is* a way (at least one) but it isn't pretty
<19> [20:19:46] < resiak> PerlJam: I'm ***uming that he wants to do what I typed [20:20:17] < PerlJam> resiak: well, no telling what he really wanted to do without confirmation.
<13> the way Prof told us , right ?
<19> what exactly was it that you thought that I want or don't want to do?
<13> %{{@$ref_array}}, right ?
<0> which irc networks do those quotes on bash.org come from ?
<20> lots
<19> r3nd3r, its not from one single, they have users submit quotes, and users from all over does it
<19> not all of them are from irc, some are from instant messenging conversations or similar
<18> heng: what's the full expression then? :)
<13> PerlJam: <13> I am doing it like : %hash=@$ref_array; join("&",map { "$_=$hash{$_}" } keys %hash), in this way, I have to use a temp hash %hash
<13> RossWrk: login as squid account and run set
<18> TPC: what is it that you intended to do? Did you want to extend your array by one element that's an array ref to a 3 element array?
<19> yes
<19> thats what I wanted to do
<13> then run perl -MAuthen::Radius -e 'print'
<18> heng: no, no, I mean what would it look like if you used the funky expression you just suggested ?
<18> :-)


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

router blocking ubuntu updates
ubuntu Belkin F5D5005 Gigabit Desktop
#sed
emerge kstartupconfig
guestos=openbsd
ubuntu dapper gtk-config
gentoo madwifi help
REGULAR EXPRESSION for irc -mirc
dapper gnome-commander apt-get
havp+sarge



Home  |  disclaimer  |  contact  |  submit quotes