@# 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 35 36 37



Comments:

<0> candyban's url is at http://xrl.us/o3j7
<1> php needs a whole lot of ****.
<2> sili: every language could use some lexical scoping.
<2> jpeg: PHP lacks proper polymorphism if you ask me.
<3> it could use a swift kick in the rear.
<2> jpeg: I'm writing PHP for work.
<3> ln -sf `which perl` `which php`
<3> :P
<4> buu: Or should I work with the HandleError? (I just want it disabled)
<5> just keep messing around with it until it works. use big descriptive variable names and add _(1) _(2) _(3) to the end if in doubt.
<6> rindolf: it lacks a whole lot more than that
<7> does anyone know about IO:Socket's ?
<6> jjk: just ask your question
<5> $counter_variable_I_think_I_used_counter_already_so_this_is_another_counter
<5> see, you can put your comments right into the variable name
<6> mjl69: self documenting code!



<8> o_O
<9> haha
<10> candyban: They are documented in the attributes section of the 'connect' method.
<2> mjl69: heh.
<11> open FH, ip; print FH $b;
<12> $counter{'thing_to_count'}++;
<6> fgfg: nice try!
<11> will this print to the file ip
<8> !wankit
<2> mjl69: that looks like something for http://thedailywtf.com/
<8> aww, disabled.
<1> candyban: attributes common to all handles
<7> i use Proto => 'tcp') what else is there that can connect to a irc server?
<8> ssl
<10> ryan`: I never use exclamation marks..
<13> Does XPath work with Namespaced xml files?
<10> jjk: POE::Component::IRC? Bot::BasicBot? Net::IRC?
<11> open FH, ip; print FH $b;
<8> buu: is the trigger just wankit?
<11> will this print to the file ip
<10> ryan`: Yes.
<2> DoctorMO: the standard should.
<8> wankit
<14> Perl 6's shoes, most notably the one that roundhouse kicked the Berlin wall down are kept in a secret government closet in Langley, Virgina. This may be the only government secret that Clinton did not sell to the Chinese.
<7> to late i have alredy used io
<2> DoctorMO: but implementations may vary.
<8> ah...
<10> fgfg: Please read perldoc perlopentut
<14> fgfg: Type 'perldoc perlopentut' in your shell or go to http://perldoc.perl.org/perlopentut.html
<11> thanks
<13> rindolf, yes looking at Cl***::XPath for adding in some XPath functionality into XML::DOM2
<2> DoctorMO: OK.
<9> fgfg: open IP, ">>", $file or die;
<2> DoctorMO: is XML::DOM2 your module?
<7> what else is there that works for irc
<13> rindolf, yes
<2> DoctorMO: nice.
<13> rindolf, I could reprogram the whole standard but I thought I'd check first
<2> DoctorMO: there were a few discussions on the Perl-xml mailing list.
<9> fgfg: Then you can: print IP $ip;
<13> rindolf, I should join that list huh
<2> Sam Tregar is a nice guy.
<2> DoctorMO: or see the archives.
<2> DoctorMO: perl-xml@listserv.activestate.com
<13> rindolf, rindolf thanks for the tip off
<2> DoctorMO: no problem.
<13> http://aspn.activestate.com/ASPN/Mail/Browse/Threaded/Perl-XML/3193655
<0> DoctorMO's url is at http://xrl.us/o3km
<13> rindolf, mustn't be on the archives yet
<15> how do i figure out whether a string starts with 4 digits or not?
<13> rindolf, I've subscribed anyway, could you forward me the thread? doctormo[at]gmail.com?
<16> hello
<9> eval: $string = "1234 hi"; if ($string =~ /^\d{4}/) { print "1"; } else { print "0" }
<14> eggzeck: 1 1
<9> equuelus: ^^
<7> so what else is there i can use insted of tcp
<2> DoctorMO: the thread was a while ago.
<16> i got a lil VIA mini-itx with linux on a small flashcard. without any compiler, or something. so i compiled microperl on my notebook ... but when i copie it to the ITX and run a perlscript, the machine says: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /usr/bin/microperl)
<2> DoctorMO: let me grep for it.



<16> how do i need to compile it ?
<13> rindolf, perhaps it was a different module?
<2> DoctorMO: there's one from 22/3/2006.
<2> DoctorMO: it was about XML::LibXML.
<9> synie: I believe you need to install libc6 - On Debian I would just do: apt-get install libc6
<13> rindolf, Ah
<9> synie: But from distro to distro the package name may differ
<16> eggzeck ... u mean on the mini-itx ?
<9> find out how you can get the gnu c libraries on that :)
<16> the problem is, this is a veeerryy small linux on a flashcard. so it's only a image, that'll load into the ram ... so it's not as easy to install new libs
<16> but
<16> there is already libc.so.6
<16> but it seems like it isn't the same version
<13> rindolf, seems like there is quite the competition in thise field
<2> DoctorMO: well...
<2> DoctorMO: one problem was that XML::LibXML was not updated in a long time.
<13> rindolf, 2 years
<2> I think now someone volunteered to squash some bugs in it (and possibly add features that were added to the C libxml2)
<2> DoctorMO: yes.
<17> help pls ! I want that (.*) takes care of the returns in line
<2> KingPanga: so use [.\n] instead of .
<2> There is some kind of \ for any char IIRC.
<2> \-escape even.
<13> rindolf, well libxml is a C lib and I'm on high dependancy avoidence which is why I use Sax parser which can take advantage of installed libs or PurePerl
<2> DoctorMO: I see.
<2> DoctorMO: where do you work?
<9> KingPanga: or /s
<13> rindolf, Venda
<2> DoctorMO: http://www.venda.com/ ?
<9> KingPanga: /(.*)/s
<13> rindolf, yes
<17> thx
<17> i will see
<2> "Managed eCommerce and CRM solutions"
<13> rindolf, why?
<2> DoctorMO: no, I'm trying to understand why you have deps problems.
<18> Is there a scratch hash and array like $_? Is it @_ and something else (perhaps %_)?
<19> synie: perhaps your mini-itx board uses uClibc, then? http://www.uclibc.org/
<2> DoctorMO: parsing XML with Pure Perl is slow.
<19> synie: try compiling against that
<20> Hrm.... "local $SIG{__WARN__} = $old_WARN;" gives me: Use of uninitialized value in scalar ***ignment at /usr/local/share/perl/5.8.8/Error.pm line 586.
<20> Does local not like scalars that might be undef?
<16> kulp, but there is a libc.so.6 in the lib directory ! ...
<16> how can i compile microperl against it ? cuz there is no compiler on the machine
<2> DoctorMO: I can't find XML::DOM2 on CPAN.
<2> LeoNerd: use no warnings 'whatever';
<16> there is no uclibc or something like this on the machine
<2> core: warnings
<13> rindolf, it'll be there tomorow
<14> warnings was added to Perl5.006
<2> DoctorMO: OK.
<19> synie: install uclibc on your notebook/some other computer and compile it there
<20> rindolf: that's OK... local $SIG{__WARN__} = $old_WARN if( defined $old_WARN ); seems to work OK
<2> DoctorMO: cool.
<2> LeoNerd: yes, that's also OK.
<19> synie: but if it's libc.so.6, it might not be what you want
<19> synie: just a possibility
<13> for now: http://www.postmaster.co.uk/fs/doctormo/Public//XML-DOM2-0.03.tar.gz and SVG-DOM2-0.01.tar.gz
<0> DoctorMO's url is at http://xrl.us/o3k3
<2> DoctorMO: I see.
<2> DoctorMO: we've been talking about creating a portable Perl distro with much more commonly used modules in it.
<2> DoctorMO: there's an infrastructure for this in the perl5 from CPAN.
<16> kulp, how can i find out, which libc is used on this machine ... or which version of it ?
<2> Or we can roll our own.
<2> ActivePerl may do that.
<2> synie: with what distro?
<16> rindolf ... it's uhm ... Busybox !?
<19> synie: i don't know the "official" way to do it; you might try something like "strings /lib/libc.so.6|grep -i libc"
<19> synie: and look for a version string (on my box, glibc 2.3.6)
<16> there are a lot of version numbers ... from 2.0 till 2.2.4
<16> damn ... and the miniperl needs 2.3 ...
<16> and now ? ^^
<20> rindolf: I've written a little example perl script that demonstrates the difference between using :warndie and not.. Should I add that to toplevel, next to the existing "example" perl script?


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

#perl
#osdev
#perl
#lisp
#perl
Unrecoverable error reading M from
#linuxhelp
#lisp
bjweeks -digg -ubuntu
configure beagle F12 suse 10.1



Home  |  disclaimer  |  contact  |  submit quotes