| kcbanner | I need to leave the foreach what is the syntax? |
| somian | Heheh. boch also should do it in the normal way. |
| chuckfromchan | i've got a question about pasteling |
| kcbanner | GumbyBRAIN, pasteling |
| GumbyBRAIN | i'm glad i have a question about pasteling. |
| boch | jontec, something.pl ? |
| cfedde | perl -le 'print $_, " : ", length $_ for @ARGV' this is a test "" " " " " |
| chuckfromchan | how does it know when someone submits a paste to announce it in the channel? |
| cfedde | boch: 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 |
| jontec | boch: anything, it was just an example |
| cfedde | jontec_: perl -le 'print $_, " : ", length $_ for @ARGV' this is a test "" " " " " |
| jontec | cfedde: what is that doing exactly? that's like glyphs for me. :D |
| chuckfromchan | anyone know? |
| kcbanner | chuckfromchan, probably a callback from the paste script? who knows I dont |
| cfedde | jontec: it is showing you want was passed and how long it is. |
| boch | cfedde, 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 |
| cfedde | boch: that's how fifo's work. boch: your english is better than my <your native language here> |
| boch | cfedde, and for a daemon that is reading a fifo all the time.. how i do for read without opening and closing it ? |
| cfedde | boch: iirc perldoc perlipc has something about that... |
| boch | a while inside a while ? |