Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#perl

02 January 2008


Total 32 pages. You are browsing page 1/32.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

--- Log opened Wed Jan 02 00:00:06 2008
00:16 <****> Here's something very useful to know: you can tie $^H in a BEGIN block!
00:18 <****> eval: package Hints; sub AUTOLOAD { print "$AUTOLOAD @_ | "; return bless {} if $AUTOLOAD =~ "TIESCALAR" } BEGIN { tie $^H, "Hints" } use strict; no strict;
00:18 <****> integral: Hints::TIESCALAR Hints | Hints::FETCH Hints=HASH(0x86fdba8) | Hints::STORE Hints=HASH(0x86fdba8) 1794 | Hints::FETCH Hints=HASH(0x86fdba8) | Hints::FETCH Hints=HASH(0x86fdba8) | Hints::STORE Hints=HASH(0x86fdba8) 256 | Hints::FETCH Hints=HASH(0x86fdb
00:21 <****> integral: AWESOME
00:22 <****> integral++ # informational
00:22 <****> It's a shame there's not a mailing list for advanced perl wankery
00:22 <****> are you sure there isn't?
00:23 <****> I couldn't swear to it
00:24 <****> but I don't think I've heard one mentioned
00:25 <****> maybe you should start one.
00:25 <****> fpw?
00:25 <****> er, fwp./
00:26 <****> dwu: I think you are missing an a
00:26 <****> Khisanth++
00:26 <****> oh there *is* traffic on fwp
00:27 <****> yep, looks like FWP is what you're looking for.
00:27 <****> dwu++
00:27 <****> Not according to rindolf's spelling *shrug*
00:27 * integral had assumed it was quite dead, but it's just resting
00:29 <****> Can someone tell me why I'd use Variable::Magic instead of tie?
00:29 <****> cause you love magic?
00:31 <****> Magic does sound cooler.
00:59 <****> http://www.youtube.com/watch?v=l-spt7y1v6Y
01:01 <****> Yaakov: heh
01:13 <****> can I check if the next read from a IO:Handle / IO::Socket::INET6 would block?
01:14 <****> you can set handle to nonblocking mode too, and use IO::Select but that isnt direct answer to your question
01:15 <****> using IO::Select that way would considerably complicate the code
01:16 * CPAN upload: ExtUtils-MakeMaker-6.43_01 (++++ ) by MSCHWERN
01:16 <****> thomask: for me IO::Select simplified code few times.. :)
01:18 <****> IO::Select's can_read is probably the best way. Otherwise nonblocking is the only way to check without blocking
01:18 <****>) ?
01:18 <****> ah, true, you'd have to switch to sysread
01:18 <****> which does complicate quite a bit
01:18 <****> not much...
01:19 <****> true, not that much, but still not just one statement
01:19 <****>can_read() call will return same fh again
01:19 <****> will block without doing it
01:19 <****> not like either is really avoidable, I guess you could use an alarm instead...
01:19 <****> 7win 23
01:19 <****> oops
01:20 <****>can_read($timeout)) { foreach my $fh (@foo) { # or something similar
01:21 <****> agaran: thanks
01:21 <****>can_read(0)), but it's not as efficient
01:23 <****> thomask: on C layer there is return code EWOULDBLOCK but from perl level i rather try to use select and pooling..
01:25 <****> sysread = awesomeness
01:25 <****> could also use Event::Lib
01:26 <****> (or whatever the wrapper module for libevent is)
01:26 <****> use Errno; ... sysread ... if ($!{EWOULDBLOCK}) {
01:26 <****> EV I believe
01:26 <****> i used once recv with 0x4040 as flags or somethings, that was forcing nonblocking read..
01:28 <****> I'd probably build up that mask using the fcntl flags
01:39 <****> pkrumins: and a happy mew year to you too =^_^=
01:41 <****> f00li5h: but the cat new year didn't start yesterday.
01:42 * f00li5h paws at xand
01:42 * xand sneezes
01:46 <****> Hi, any bioperl hackers here?
01:46 <****> #bioperl is dead
01:46 * CPAN upload: Perl6-Bible-0.37 by LICHTKIND
01:46 <****> perlbot: ask to ask?
01:46 <****> Don't ask to ask; simply ask your question
01:46 <****> if it's a plain old perl question we might be able to help.
01:46 <****> cfedde: =^_^=
01:47 <****> how do i download a full genome such that I can iterate through each accession id and process the relevant sequence?
01:47 <****> what method to use?
01:48 <****> what namespace should occupy module that gives object representing 3dimensional point in space (vertex in 3d graphic terms), i currently created it as data::vertex but am not sure if that is correct, its XS module
01:48 <****> Happy new year room!
01:48 <****> :-)
01:48 <****> happy! :D
01:48 <****> me quicky reviews http://www.bioperl.org/Core/Latest/bptutorial.html to see if he can answer that.
01:49 <****> cfedde: thanks.. I'm doing the same just that I'm a noob and it takes time for me to find my way around.
01:49 <****> to be a pedant, this is a channel not a room :D
01:50 <****> GumbyBRAIN: cube it
01:50 <****> What else could it be a quiz at the family christmas do, i want it there if you do wrong.
01:50 <****> IS THIS ROOM IN USE?
01:50 <****> Temporarily out of entropy. Please try again later.
01:50 <****> Yaakov: occupado!
01:50 <****> xand: sorry
01:50 <****> BESETZT
01:50 <****> :-)
01:50 <****> darx: sorry for being sad
01:51 <****> if somebody has advices about namespaces please let me know, gn8 all
01:52 <****> agaran: naming is one of those subjective things that you just have to work with.
01:53 <****> i know, but is adviced consult names before trying to upload to PAUSE
01:54 * xand uploads f00li5h to PAWS
01:54 <****> GumbyBRAIN: f00li5h!
01:54 <****> creating new toplevel name spaces is considered bad form.
01:54 <****> All of them and perl 5.10 activestate catalyst 5.00.
01:54 <****> cfedde: unless you have a good reason
01:54 <****> adding unrelated modules to a namespace is also bad form.
01:54 <****> but as always we're talking about conventions. not constraints.
01:55 * f00li5h is gradually mirrored arround the world
01:55 * f00li5h paws at simcop2387
01:55 <****> GumbyBRAIN: #bioperl is dead because beth got married!
01:55 <****> How to deal with the catalyst layer added something or it may be because of the dead is the best mod for it ?
01:56 <****> cfedde: i understand, so i will wait some and think more about that module, thank you
01:56 <****> simcop2387, I just tried to see if my dvd drive was working with a blank dvd in it and it did that thing where my screen goes black again...
01:56 <****> I just want to burn this movie...
01:58 <****> f00li5h: r u there
01:58 <****> initself: HERE I AM!


Total 32 pages. You are browsing page 1/32.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo