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



Comments:

<0> Yaakov, in that case I wonder why you talk so much... :)
<1> Ani-_: Because I am so often correct.
<0> Again an incorrect sentence... Your definition of wrong seems to be incorrect... :)
<2> integral: hmm... I know that i can find docs about a specific function with perl -f, but what if i want to find docs about a specific function of a specific module?
<3> rutski89: generally: perldoc module
<4> rutski89: perldoc Module. less(1) is typically used as the pager, and it has advanced UNIX(R) navigation featues
<4> (patents possibly not pending)
<0> rutski89: documenteation of modules can be found via perldoc Module (at te shell/command prompt) or you can go to http://search.cpan.org and browse the documentation there
<1> rutski89: Read the source code, it is the only definitive documentation.
<2> integral: hehe; yea, i know, I've been sifting through perldoc CGI.pm for start_html with less's searching abilities, but there are a lot of occurrences of it :-/ it's hard to find what i'm looking for.
<5> The perldoc for CGI - is at http://perldoc.perl.org/CGI.html
<1> perlbot: yaakov
<6> moosebox
<2> cool, http://perldoc.perl.org/CGI.html#ENDING-THE-HTML-DOCUMENT%3a did it, i need -dtd; thanks for the help guys :)
<1> That's just wrong.
<7> rutski89's url is at http://xrl.us/kkcw



<2> lol, cool
<1> !shorten that
<1> shorten that
<1> Oh well.
<3> perlbot: shorten that
<6> Shortened URL: http://tinyurl.com/8rnwj
<4> shorten: http://cabbage.org.uk/cgi-bin/env.cgi/very/very/very/very/very/long/url
<1> pravus: Try that link.
<8> hmmm whats a good avertising site (for publishers)
<8> preferably something with a high cpm
<1> GumbyBRAIN: beloved Andi
<9> Yaakov: Andi is the state change trying to portray.
<9> Gumbybrain is a big*** chicken looking thing that tickles the annoyance of ***uming because it could be exploited?
<8> GumbyBRAIN, quack.
<9> Shadda: Quack quack quack! [Recedes.
<8> heh
<3> schroeder?
<1> pravus: I have no idea.
<1> perlbot: shorten this
<1> perlbot: shorten that
<6> Shortened URL: http://tinyurl.com/9zgx
<6> Shortened URL: http://tinyurl.com/8rnwj
<1> pravus: Try the first link :)
<3> Yaakov: Location: that
<1> perlbot: shorten GumbyBRAIN
<6> Shortened URL: http://tinyurl.com/qzkqa
<1> perlbot: shorten goober
<6> Shortened URL: http://tinyurl.com/mjarm
<10> if I wanted to update a character position using perl multiple times ( kind of like a spinner ), the only way to do that efficiently is using curses right?
<1> Odd.
<11> kilohurt: why not a simple \b or \r ?
<3> why can't HP make a fax product that just works?
<10> kjetilho: because it looks like crap. I want to use actual control codes and SPECIFY a position
<3> kilohurt: you will have to use (n)curses for that
<12> Yaakov: are you able to give some hints about this? http://erxz.com/pb/830
<1> It's broken.
<12> Yaakov: there a way to fix?
<12> s/there/there is
<1> I don't know!
<10> pravus: ah, is that my only option?
<3> kilohurt: if you don't want to use \r, yes
<10> hah I found Term::ProgressBar;
<1> pravus: You could use ANSI sequences.
<10> (which is all I need)
<4> Term::ANSIScreen, it's fairly incomplete though if you want some of the interesting corners of the ANSI (not actually ANSI any more) spec
<4> (note than ANSI codes will not work on your ADM3A)
<1> integral: My ADM3A is long gone.
<1> But it was a nice blue color.
<13> hi, if I've got a nest of [quote]s and [/quotes] (you know, they bulletbin board stye ones) - is there an easy way of stripping out all the [quotes] more than 1 level deep?
<13> or, just stripping out all the quotes
<13> s{\[quote\].*?\[quote\]} doesn't really work in many circumstances :(
<4> Text::Balanced.
<4> or use recursive regexps.
<1> A regex will remove everything easily, but Text::Balaced would be more robust.
<13> is Text::Balanced a Conway thing? (eap)
<4> taeli: there si also Regexp::Common::balanced



<14> anyone here familiar with cpan? most modules fail to install for me
<2> is this wrong? split /\./, shift;
<1> Parse::RecDescent!
<4> my $text = qr/.*?/; my $quote = qr{\[quote\] $quote \[/quote] | $text}x;
<4> rutski89: no...
<2> hmm, emacs seems to think so :(
<4> rutski89: cperl-mode is crap. vim is much better.
<1> mc_: Are you using Win32?
<2> it's syntax highlighting is off unless i do split /\.//, shift;
<15> "mc" at 62.218.230.197 pasted "cpan> install Net::ICQ Running" (40 lines, 1.3K) at http://sial.org/pbot/16490
<10> rutski89: get vim or Gvim and you'll be in syntax highlighting heavgen
<4> rutski89: yes, it's not very good at getting it right. vim is far superior
<14> Yaakov : no freebsd
<2> I used vim a lot before i found emacs, i much prefer emacs key bindings
<16> .. all 853 of them ...
<2> and it's perl-mode.el getting it wrong, not emacs itself :-/
<4> frisbees don't run perl well
<1> rutski89: You can change the vim bindings.
<4> rutski89: ah, try cperl-mode then
<2> awesome, it fixed it :D
<1> mc_: I am not sure what the problem is, sorry.
<2> the new colors aren't bad either
<2> Yaakov: yea, but it'll never be emacs, i love emacs :D
<14> Yaakov : ok,though thx
<1> mc_: I haven't seen that issue before.
<14> Yaakov: i get it very often
<3> mc_: does /usr/bin/make exist?
<3> or perhaps that module requires gmake to be installed?
<1> mc_: Many things can be installed from portds.
<1> ports
<14> Yaakov but not everything
<14> gmake is installed
<1> I use FreeBSD and CPAN with no problems.
<14> which perl version do you have?
<3> i wonder if you could tell cpan to use gmake instead of make
<3> i've never used cpan though... so i wouldn't know how to do that
<14> i could temporary remove /usr/bin/make and symlink gmake to it
<4> yeah, set the MAKE env var I believe
<1> This is perl, v5.8.7 built for i386-freebsd-64int FreeBSD 5.1-RELEASE
<3> mc_: i would avoid that
<4> setting it to gmake should be highly possible considering the platforms perl works on ;-)
<14> pravus: just for testing
<3> mc_: :) try setting MAKE
<1> This is perl, v5.8.8 built for i386-freebsd-64int FreeBSD 6.0-RELEASE
<17> hi, i have some files with special characters on my system (such as the copyright symbol, the trademark symbol,etc). i am writing a script to rename these files to replace these special chars with an underscore character. the problem is, i do not know what to match... any ideas anyone?
<1> This is perl, v5.6.1 built for i386-freebsd FreeBSD 5.0-RELEASE
<14> im using 6.0-STABLE
<4> rainkid: try [^\x00-\x7f]
<17> integral : let me give that a shot...
<14> same error with gmake instead of make
<18> GREETINGS HU-MONS!
<4> WELCOMES DAVES
<1> This is perl, v5.8.6 built for i386-freebsd-64int FreeBSD 5.4-RELEASE
<14> perlv5.8.8,do you think an older version would run properly?
<1> I don't think I have any others right ow.
<1> now
<8> lewsers... /me runs perl 7.4.4 w/ Cockatoo VM
<19> :/
<18> integral :)
<20> I have a list of keys, and a list of values, is there a single statement I can use to interleave these two lists into a hash?
<21> has any of you tried to implement neural networks with perl?
<22> vimacs: zip in List::MoreUtil
<22> vimacs: zip in List::MoreUtils
<20> zamolxes, thanks
<23> How do I make regexp not to match some word?
<22> positron: !~
<22> ? :)
<23> =) i was too lazy to try that
<23> thx
<22> welcome
<1> perl -wle '@a=qw/1 2 3/; @b=qw/a b c/; $h{shift @a}=shift @b while @a; print "$_: $h{$_}" for keys %h'
<1> vimacs ^^


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

#web
#perl
gettz c++
_SERVER[SCRIPT_URL] missing
amarok musicplayer apt get command
#css
#xorg
#css
Segmentation fault $MOZ_PROGRAM $MOZ_LANG ${1+$@}
#linux



Home  |  disclaimer  |  contact  |  submit quotes