#perl - Sun 11 Mar 2007 between 23:54 and 23:59



kcbannerI need to leave the foreach
what is the syntax?
somianHeheh. boch also should do it in the normal way.
chuckfromchani've got a question about pasteling
kcbannerGumbyBRAIN, pasteling
GumbyBRAINi'm glad i have a question about pasteling.
bochjontec, something.pl ?
cfeddeperl -le 'print $_, " : ", length $_ for @ARGV' this is a test "" " " " "
chuckfromchanhow does it know when someone submits a paste to announce it in the channel?
cfeddeboch: you read from a fifo in the same way that you read from any other file.
pasteling"chuckfromchan" at 12.227.160.225 pasted "test" (4 lines, 59B) at http://sial.org/pbot/23433
jontecboch: anything, it was just an example
cfeddejontec_: perl -le 'print $_, " : ", length $_ for @ARGV' this is a test "" " " " "
jonteccfedde: what is that doing exactly? that's like glyphs for me. :D
chuckfromchananyone know?
kcbannerchuckfromchan, probably a callback from the paste script?
who knows
I dont
cfeddejontec: it is showing you want was passed and how long it is.
bochcfedde, i did a mkfifo /tmp/test, then an script that open its, then i do a foreach(<OPEN_FIFO>) or a while, but it ends in every line
it is a named fifo
sorry my english, it sucks
cfeddeboch: that's how fifo's work.
boch: your english is better than my <your native language here>
bochcfedde, and for a daemon that is reading a fifo all the time.. how i do for read without opening and closing it ?
cfeddeboch: iirc perldoc perlipc has something about that...
bocha while inside a while ?

Page: 1 8 15 22 29 36 43 50 57 64 71 78 85 

IrcArchive