@# 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:

<0> Yaakov: its probably empty
<1> Yaakov: yes, but it's full of crazy peo.. oh.
<2> I just found out that there is an emacs for the hp49g+.
<3> nice
<4> emacs: wherever there's memory, it will fill it
<5> Ani: it's big enough to be one
<6> "metaperl" at 208.57.171.10 pasted "why is this causing a runaway multi-line" (3 lines, 129B) at http://sial.org/pbot/17130
<5> emacs: the free-memory terminator.
<7> quick question, i am installing a wiki called twiki on a linux box running apache and I am wondering what the best practice is on where to install the application?
<5> you know
<7> in /usr/local ? and sym link the scripts in the cgi-bin or what?
<5> that question is entirely appropriate to #perl
<1> OneTruth: and this is perl related how? :)
<5> we also field a lot of questions about the care and feeding of the african elephant
<7> cause its written in perl :)
<1> yes, and, so, what?



<5> so?
<5> #C doesn't field questions about Windows
<1> do you think bjarne stroustrup helps people with windows problems?
<4> OneTruth: that's not a relation... that's just coincedence
<5> maybe you should read the docs
<7> and so i dont know where to put perl scripts
<5> nice try.
<7> so what you are telling me is none of you know the answer to my question?
<1> MetaCosm: << 'EOSQL', not '<<EOSQL'
<5> OneTruth: yes.
<1> OneTruth: 1) it is totally subjective and up to the system administrator, and 2) it is not related to perl, the language, in any way.
<2> ONE TRUTH YOU ARE BEING TOYED WITH
<1> put it wherever the **** you want
<1> just make sure it's not web-readable
<5> you should install it in /opt/usr/local/bin/local/opt/bin/usr/lib/etc/twiki
<4> /dev is a good place
<5> then all your bases will be covered
<5> pravus: no /tmp
<4> even better!
<2> All your base are... nevermind.
<8> I've a problem with unicode. I use LWP::Simple and HTML::LinkExtractor (and utf8). the if ($$link{_TEXT} eq $first_character) never happen even if $first_character is the same than $$link{_TEXT} on the terminal output. From Where the problem could come ?
<9> I put all my scripts in /tmp
<4> might have to re-install after a reboot though
<5> I suggest putting it in /dev/mem
<5> (note: you may need to be root to install there)
<9> I suggest
<5> (but it's a wild, wild ride)
<9> cat filename > /dev/null
<9> about 300 times
<4> put it in /dev/hda or /dev/sda
<5> no!
<10> why is this causing a runaway multi-line: http://sial.org/pbot/17130
<5> put it in /dev/kmem
<5> bee: I got teh new box
<9> I didn't know you were getting a new one.
<4> work_metaperl_: Botje answered your question... read above
<10> pravus: thanks
<11> fridim: not related to your problem in any way: please use $link->{_TEXT} instead of $$link{_TEXT}. The first is more readable (IMHO).
<2> EVERYONE KNOWS AN ANT CAN'T MOVE A RUBBER TREE PLANT
<5> bee: 2GB RAM, Core Duo @ 1.66ghz, 256MB video card, 100GB disk
<12> can we put a variable in that like if ($datab2 =~ /userlogged=*\$guest3$/) by using a backslack
<5> (it's a laptop)
<1> wumann: BLINK?
<10> Botje: thanks!
<9> well your laptop is better than my desktop
<3> Elly: nice
<1> yes, you can put variables in regexes, you DON'T need a backslash, but you DO need to check for bad user input
<9> \Q$input\E
<9> =(
<11> Bad user input? Are you saying users input bad things? :)
<5> no
<5> input from bad users
<5> actually I guess they're about the same really
<9> one comes from the other
<2> I feel like I have about a billion neurons in my brain!
<5> Yaakov: only a billion?
<2> Elly: I said I FEEL like that.
<13> Elly: result of the hemispherectomy
<2> How many neurons do YOU feel?
<13> of course you feel like that
<8> I've $c = chr(0x0109); print $c; -ouput -> Wide character in print at Kio.pm line 1; Why ?



<14> eval: 0x109
<15> mauke: Return: 265
<5> use unicode?
<14> why not?
<8> yep unicode
<8> even with 265, same message
<14> you need to tell perl what encoding to use
<8> (i really don't like the idea of using unicode, but i have to)
<14> binmode STDOUT, ":utf8"; or something like that
<8> mauke, does a use utf8; do this job ?
<14> Do not use this pragma for anything else than telling Perl that your script is written in UTF-8.
<2> IF YOU CAN'T ENCODE IT IN 5 BITS YOU DON'T NEED IT TO COMMUNICATE
<1> fridim: what is your problem with unicode? utf8 is a pretty elegant solution to is.
<1> Yaakov: YOU ARE MISSING SOME SWITCH CODES IT APPEARS
<2> I DON'T NEED YOUR FANCY PANTS SHIFT CODES
<16> Is $$arr[0] the same $arr->[0], right?
<16> s/Is//
<14> yes
<16> thanks
<1> except it's infinitely more readable
<16> it quite is
<2> Eek
<17> "infinitely"? that's quite a bit much.
<18> ok this seems to be working
<4> Botje doesn't mess around!
<2> The first is TOTALLY unreadable and the second is just barely readable, which is infinitely more.
<19> i just installed a module that errors on: Can't locate object method "buildAccessorsScalar" . help :/
<2> Sell everything you own and buy gold and a train ticket to Buenos Aires, NOW.
<2> DO NOT DELAY OR YOU MAY NOT GET THE CHANCE TO REGRET IT
<11> a train ticket?
<11> Why?
<20> ah well, just been told that i am socially retarded ;-)
<21> :)
<2> Wow.
<2> Terminal.app just went *poof*
<1> must've been a terrorist act. call Apple
<2> It just... vanished.
<2> HELLO BAHTYA
<1> HELLO YAAKOV
<2> HELLO
<8> i give up
<8> utf won
<22> how do I find out which version of NET::DNS I have installed, or if it's installed at all?
<23> Hmm .. I have a variable $ipaddr that is returning ARRAY(some number)
<3> perl -MNet::DNS -e 'print $Net::DNS::VERSION'
<1> perldoc perlreftut ?
<24> 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
<23> Is there a way to "cast" that back, or dereference it to get the values in the array?
<23> Should I just refer to it as @ipaddr?
<4> @$ipaddr
<1> perldoc perlreftut > Martyn
<4> perldoc perlreftut > pravus
<4> hrm... nothing
<1> heh
<1> that's be silly
<22> thanks
<1> "hey pravus, pravus wanted you to konw about .."
<4> wasn't sure if he put checking in for that
<4> Botje: i thought the redirection only worked with perlbot though
<23> either way, thanks for the hint on dereferencing the $ to array
<1> Martyn: read perlreftut anyway.
<1> or at least the six little rules.
<23> I can do an m/ARRAY/ on it to see if Config::Simple slammed the $ipaddr
<23> Reading now
<1> Martyn: NO.
<1> NO NO NO
<1> READ PERLREFTUT
<1> ref($foo) will tell if something is an arrayref.
<23> Ah
<4> ->isa() also works... but that's green magic
<23> perlreftut doesn't mention ref(), so that's a good thing
<4> then need ->isan... ->isa('ARRAY') is bad english!
<1> *UNIVERSAL::isan = \&UNIVERSAL::isa # :o)


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

#perl
apt-get install xbuntu-desktop
#mysql
rabbit in the moon listen online
#oe
ubuntu devault root password
#css
azureus update failed ubuntu
bash: : Permission denied gentoo conky
#perl



Home  |  disclaimer  |  contact  |  submit quotes