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



Comments:

<0> lyric: perl -MCPAN -e 'install DBI'
<0> lyric: oh, if you're not root, you can configure it to install in a local dir
<0> I forgot how, though
<1> oh yay, yet another ****ed up government IT project.
<2> integral: Film at 11
<1> Appears no one bothered to put into the spec that doctors should only be able to view the records of their own patients
<2> Is this not obvious?
<1> not just doctors, any secretary *sigh*
<3> anyone know how to configure -MCPAN to install in a local dir?
<1> perlbot life with cpan
<4> Information pertaining to the Comprehensive Perl Archive Network (CPAN) can be found at http://sial.org/howto/perl/life-with-cpan/
<5> maybe perldoc CPAN knows *cough*
<3> thanks
<6> -yeah i work with hospitals, HIPAA compliance makes me tons of money
<7> yeah, SOX is fun too.



<6> s/sd/ds/
<7> the next Enron will just lie their way through all the SOX controls
<1> We should adopt the extreme programmign book as a law
<6> why cant they call it EP instead of XP
<6> that bugs me.
<5> because it's *EXTREME*!
<6> does it have its own rolling stones song?
<6> o/~ you make a grown man cry o/~
<8> http://www.extremeperl.org/bk/home
<7> the rolling stones website makes grown men cry
<6> s/rolling stones/strolling bones/g
<9> ok, off topic, but what is a good word for "not fully understanding" ?
<9> or could somebody tell me of a place where people would just sit and argue about how words fully describe things?
<9> GumbyBRAIN, not fully understanding?
<10> uber_spaced: Understanding 0em software some software that generates text automatically, constructing grammatically correct sentences (but obviously without meaning). It was quite confused when my eyes instantly started bleeding the moment i am fully gruntled.
<5> uber_spaced: near-understanding?
<9> ha! not quite understanding enough </dr evil>
<9> almost
<3> How do I add my lib dir to @INC?
<9> use lib
<9> use lib "/lib/dir";
<3> can I not set it in my ENV?
<9> lyric, you can, push @INC, "/lib/dir";
<9> but use lib is better...
<3> I want a permanent fix
<9> perlbot, lib path
<9> bah
<9> i forget the syntax
<3> perlbot lib path
<9> lyric, i forget how to do it that way.
<9> sorry.
<3> set PERL5LIB /home/*
<3> ?
<11> re
<12> what is everyone's favorite mod_perl host?
<8> me
<12> arubin- from where? cable modem? or are you running a hosting company
<8> linuxnohow: I was just being unhelpful, sorry
<13> Is there a standard perl module to "deep-copy" a nested hash/array reference structure?
<14> help! my comp is too fast!
<13> I know it's fairly trivial to write, but why reinvent wheels..? :)
<12> LeoNerd super search on perlmonks,uhh,++
<15> LeoNerd: Storable
<15> LeoNerd: er, wait
<15> LeoNerd: yeah, storable :)
<13> Ahh yes. I see it
<15> buu
<8> http://search.cpan.org/~rdf/Clone-0.18/Clone.pm
<12> how does everyone feel about argument flattening in perl subs ?
<13> yeah.. Clone looks smaller/simpler/neater for me... I don't need the freeze/thaw bits
<15> LeoNerd: Storable comes with werl, though. And it's well-tested. And you don't have to _use_ the bits you don't need ;)
<8> what exactly is argument flattening?
<16> hobbs: only if you are using a recent enough perl :)
<15> Khisanth: or werl, as the case may be.
<8> werl are Larry Wall's initials backwards
<16> arubin-: foo(@foo,@bar); sub foo { both are now in @_ } instead of two distinct arrays
<15> arubin-: something that mostly doesn't exist
<8> Khisanth: isn't that how it always works?
<15> arubin-: It's got nothing to do with arguments, really, except that arrays don't automagically enreference themselves :)
<15> (except on the rare occasions when they do)



<16> arubin-: well yeah, what is your point? :)
<8> Khisanth: just wanted to make sure I'm not missing something
<8> curious why linuxnohow brought it up
<8> didn't know if it was something new I should be aware of
<8> the finer points of argument flattening can be learned from sub array_merge in http://search.cpan.org/src/BSHADE/Array-PAT-1.0.0/PAT.pm
<8> array_pad is impressive for other reasons
<8> commenting the closing braces really helps
<12> arubin- i brought it up because it came up at work
<12> some people don't like it and feel it's an incorrect behavior
<12> i like its flexibility
<12> are they really getting rid of it in P6?
<15> linuxnohow: no, just making it optional
<15> linuxnohow: If you don't provide a signature you get a signature of (*@_)
<15> linuxnohow: which says "everything is flattened into an array named @_" :)
<12> will the signature in P6 work the same otherwise? or are they changing htat too?
<15> it's completely new stuff
<8> heh
<15> I am?
<15> Oh wait, now I am.
<8> linuxnohow: show this to your coworkers:
<8> http://www.unix.org.ua/orelly/perl/prog/ch02_07.htm#PERL2-CH-2-SECT-7.3
<17> arubin-'s url is at http://xrl.us/juu6
<18> anyone know of good WAMPerls?
<12> i was looking at http://perl.plover.com/lambda/ but it's not incredibly helpful
<12> arubin- thanks! i understand perl subs and prototypes for the most part but this should help them
<15> linuxnohow: one thing that the book doesn't mention is that prototypes aren't really as useful as they look, and you shouldn't use them except where you're trying to emulate certain syntax
<15> arubin-: by the way, you probably shouldn't use that link around here
<8> why is that?
<8> is it an unauthorized copy of the book?
<8> I didn't really pay attention
<8> Google did it
<19> hobbs
<15> arubin-: yeah, it is
<15> arubin-: ripped off from the Perl CD Bookshel
<15> f
<15> buu: I looked up driving directions from here to Chicago earlier, just out of curiosity, and it's pretty funny
<15> buu: Basically I go 10 miles from my house, get on route 80, go west for 660 miles, and then I'm in Chicago :)
<19> hobbs: Not bad
<19> hobbs: My drive was slightly longer
<8> linuxnohow: give this URL to your coworkers instead:
<8> http://perldoc.perl.org/perlsub.html#Prototypes
<15> buu: actually there's some bits on route 90 at the end, but I don't know whether that's in the city or not
<19> No idea!
<8> hobbs: where are you going to?
<19> We're actually not anywhere near the city proper, we're in the outskirts
<15> arubin-: nowhere, that I know of yet. Just musing :)
<19> He's hoping!
<20> YAPC
<8> I can't imagine why you would take 90 to get to buu
<8> unless you were coming from up north and needed to head east for a bit
<15> arubin-: I don't know where buu is precisely, I just told mapquest to take me to Chicago
<8> ah, that is why
<15> arubin-: it's 99% on route 80, because I'm coming from due east
<8> 90 goes from the NW suburbs into the city
<20> 1,005 mi (about 17 hours 5 mins)
<15> although... actually I really would like to be able to go to YAPC. It's a matter of cash, though.
<21> Mmm. anyone fairly familiar with POE?
<8> hobbs: stay at buu's place
<8> just show up
<22> I almost have the right idea I figure. I am using a hash to store filehandles, and I am just having a problem with the dereferencing syntax http://pastebin.ca/39856
<23> The paste 39856 has been moved to http://erxz.com/pb/545
<21> I have a UDP reciever, I wrote with POE::Session... and it does some packet analysis, and logs a few things, and hit a webserver based on some contents of the packet.. the http request is blocking the entire server.... Any idea how I can still process other UDP packets while that one session blocks?
<15> so_: you need an extra set of braces to convince print that you meant what you said
<15> so_: print { expr producing filehandle } stuff, to, print;
<22> hobbs, ty, will test
<15> also, you don't need to duplicate the print in two different places
<14> I have Net::SNMP installed but when I do "use SNMP;" I get Can't locate SNMP.pm in @INC. Anyone know why?
<21> use Net::SNMP;
<22> hobbs, I suppose, crush the if to one clause, and put the print outside it


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

#debian
#mysql
.odt extention
undefined reference to `FAMNoExists'
#centos
kwf patch
Failed to load module GLcore (loader failed, 7)
#web
#web
CATARPILLA CAT



Home  |  disclaimer  |  contact  |  submit quotes