@# 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> hello all, this is a stupid question - but does perl have a function like 'touch' to create new files NOT....basically just looking to create a null file as a place holder to denote a filetransfer has been completed
<1> I didn't read the "function" at the end of that question
<2> Somni++++ # Much karma.
<3> hmmm
<2> perlbot karma Somni
<4> Karma for Somni: 8
<2> perlbot karma Somni++
<4> Somni++ doesn't have any karma
<1> Wowzers10 - just open the file and close it
<2> eh.
<3> merlyn: How drunk were you ? and was that trucker really naked in your shower ?
<0> ok stupid question, thanks
<1> { open my $x, ">", "somefile" }
<2> BinGOs is really a bot!
<5> are we exchanging naked trucker stories? this one time...
<6> i feel like getting drunk tonight but i don't know where to do it...



<3> **** you!
<7> GumbyBRAIN: Are you the bot or is it BinGOs?
<6> where's daveman?
<8> Bingos, is there any way you can tell people i'm a thief.
<2> GumbyBRAIN, kick BinGOs, his cd-drive is stuck
<8> i would guess "very cool and trendy you need is to the cd drive ?
<1> "one night... at trucker camp..."
<9> i'm writing arithmetic-problem creator for my daughter in $perl
<7> jdv79: He has been scarce.
<5> jdv79: at home, alone, in the closet
<3> I just have an unreliable ADSL!
<6> building pugs is destroying this box:(
<9> Somni--
<1> pugs will be the death of all of us
<6> sad - about daveman that is
<7> Somni++
<10> Mish - heh, I have written several mathematical expression parser/evaluator's in perl
<6> Limbic_Region: how goes?
<1> it's already turned autrijus into audrey!
<10> not bad
<10> being distracted by a very interesting math problem and not finishing any projects
<6> merlyn: c'mon - there's no need for that
<10> but other than that - good
<10> you?
<1> no need for deaaath? cool
<6> i'm ok thank, yeah
<6> jumping the fence is death?
<6> what?
<11> Wowzers10: perldoc -f utime describes how to do a touch(1) equivalent in Perl
<12> utime. To access this perldoc please type, at a command line, 'perldoc -f utime'. You may also find it at http://perldoc.perl.org/functions/utime.html
<3> ****ing typical. My bots are here before I am.
<10> Somni - I misparsed that about 3 times
<2> jdv79: If the fence is electrically powered - yes.
<7> GumbyBRAIN: Somni
<8> Somni++ doesn't have any modules for aalib in perl?
<2> omg lol
<10> I read Wowzers10: not as a user name but as an exclamation of suprise
<2> GumbyBRAIN just raised Somni's karma
<8> Karma for robert anton wilson has neutral karma.
<10> I was wondering - wtf is suprising about that - Somni should know better
<2> GumbyBRAIN: (robert anton wilson
<2> um
<2> GumbyBRAIN: (robert anton wilson)++ !
<0> Somni: ok, I'd rather do that - thanks going to read
<7> GumbyBRAIN: Somni
<8> Thrig integral paladin somni kitchen bod rindolf khisanth tybalt89 simcop2387 sili tag bingos.
<2> GumbyBRAIN: dazjorz
<2> damn 30 seconds limit.
<7> Heh. GumbyBRAIN is a troublemaker.
<7> 60 seconds.
<2> lol
<8> Cunts cunts cunts.
<2> BinGOs: I'd get another ISP.
<2> GumbyBRAIN: Pick an ISP for BinGOs!
<7> perlbot: karma Somni
<4> Karma for Somni: 9
<7> ?!
<7> perlbot: karma Yaakov
<4> Karma for Yaakov: 63
<7> Eek!



<13> Yaakov: Somni hasn't been around here for a long time.
<3> No one can reckon for packet-loss, my friend
<7> SO?!
<9> if i print string that has no trailing \n, do i need to bother about making STDOUT unbuffered, and how ?
<13> perlbot: karma rindolf
<4> Karma for rindolf: 15
<10> perlbot: karma Limbic_Region
<4> Karma for Limbic_Region: 15
<1> mish - yes you do
<13> Limbic_Region: we're karma-twins.
<7> Mish: $|=1;
<10> Mish - see perldoc perlvar for $|
<12> perlvar - Perl predefined variables. To access this perldoc please type, at a command line, 'perldoc perlvar'. You may also find it at http://perldoc.perl.org/perlvar.html
<3> GumbyBRAIN: karma BinGOs ?
<8> Bingos do you get?
<10> when STDOUT is selected (it is by default)
<14> perlbot: karma w***ercrats
<4> w***ercrats doesn't have any karma
<10> in general, to unbuffer a fh select $fh; $| = 1;
<2> GumbyBRAIN: karma DaZjorz ?
<8> if you want string or a much better if i specify perl to java, or c++.
<2> >.<
<2> GumbyBRAIN: That didn't have anything to do with me.
<2> Nor my karma.
<5> dazjorz: if you do enough LSD it makes perfect sense
<2> Can I get the remote address/port from a POE::Wheel::ReadWrite object?
<10> I don't know - can you?
<2> arubin-: If you do enough LSD everything makes perfect sense
<2> even GumbyBRAIN
<2> I should've written that as __EVEN__ (!!!) GumbyBRAIN
<11> dazjorz: you get that information from your Handle
<2> Somni: I was afraid of that.
<2> Somni: That part ****ed my last project up.
<2> Somni: I had to save the socket in the heap to get that then.
<2> Somni: Which made me unable to close the wheel/socket.
<10> dazjorz - what?
<11> it shouldn't have, POE or your application shouldn't care about the refcount on the socket
<10> are you using IO::Socket::INET to create it?
<2> Limbic_Region: No, well, not myself
<2> Limbic_Region: Maybe that's what POE does from the inside
<10> I am confused
<2> Somni: Well, the connection stayed open after deleting the wheel and the socket. Even close($socket) didn't help.
<10> you have to p*** a handle to POE::Wheel::ReadWrite's constructor
<2> staid*
<10> where did the handle come from?
<2> or stayed? wtf.
<2> Limbic_Region: It's given as an argument to the subroutine that's set as AcceptEvent in the Wheel::SocketFactory
<10> and that handle was likely created using IO::Socket::INET which has a very sane public method for getting the peer host and peer port
<2> Limbic_Region: From IO::Socket, I know.
<10> amazingly enough - they are called peeraddr() and peerport()
<11> you don't need to care
<2> Well I'll see if this project gets ****ed up too. Hope not.
<2> I'll post my code if it doesn't work out.
<15> dazjorz: Are you using Server::TCP?
<2> dngor: No, SocketFactory
<11> getpeername is a core function
<2> dngor: I had reasons why I didn't choose for Server::TCP, don't remember them now
<2> can't*?
<2> I can't remember them
<2> well w/e
<15> dazjorz: Might be the bong hits (re: not remembering). But anyway, SocketFactory tells you the remote address/port as part of the SuccessEvent parameters.
<2> dngor: I know, I'm getting them
<2> dngor: But my last project had problems with closing the connection, I think you were there when I told it.
<2> Not that it matters, I've abandoned it already because I got a new idea
<15> I'm not paid enough to remember problems for abandoned projects. :)
<2> dngor: It was only a few days ago.
<6> dngor: yapc?
<7> WHEN LIFE GIVES YOU LEMONADES MAKE LEMONADE IF LIFE ALSO GIVES YOU SUGAR AND WATER AND SOME KIND OF CONTAINER
<6> i forget...well everything
<15> Yeah. So why aren't you using Server::TCP?
<16> what should i use instead of troff?
<16> i gotta web page that's supposd to crank out PDF contracts...
<2> dngor: Not remembering. :-)
<16> you fill out a bunch of fields, it sticks the values into a troff doc


Name:

Comments:

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






Return to #perl
or
Go to some related logs:

gnomepeercast
#math
mythtv fx6600
#mysql
fatal: pipe_command: execvp denied
make: ***[libphp5.la]Error 1 cannot fine lltdl
ubuntu mqueue permissions
#suse
debian reinstall x
synaptic package manager mirrors



Home  |  disclaimer  |  contact  |  submit quotes