| jerlique | ok. |
| f00li5h | jerlique: more scope == more bad! |
| jerlique | yep. |
| mauke | lines 26 and 27 shouldn't be there :/ I'm sure the Socket module has a function for that |
| jerlique | Oh, sorry this code is way out of my league. I have cut nt past from here and there to make it work |
| sung | 4 |
| jerlique | f00li5h: I have cut and past your code into my script and it doesnt start respond to telnet requests anymore |
| mauke | maybe you shouldn't dump code in your program if you have no idea what it does :/ |
| jerlique | but it works :P lol |
| mauke | so what? |
| action | CPAN upload: CGI-PathRequest-1.18 by LEOCHARRE |
| CPAN | upload: CGI-PathRequest-1.18 by LEOCHARRE |
| action | CPAN upload: Metadata-ByInode-1.12 by LEOCHARRE |
| CPAN | upload: Metadata-ByInode-1.12 by LEOCHARRE |
| f00li5h | jerlique: you did see the while(1) in there, right? jerlique: 'cause that's the loop of your daemon |
| Phocean_ | no one can help me ? |
| f00li5h | Phocean_: i missed the question |
| Phocean_ | I am trying to get an MIME object from an imap message using IMAP::Talk it is the only way, as far as I understand, to extract the attachments |
| jerlique | Yes, I can see the while(1). The program will never pass this, so how does this help? |
| f00li5h | jerlique: that while(1) is there to /represent/ the main loop of your daemon it should not be there at all in your code also, the %SIG thing may want to be first Phocean_: did you just ask your question on PM too? |
| Phocean_ | f00li5h: yes, I just did it f00li5h: but is it really complicated ? I think it is just something I misunderstand though I am a beginner |
| f00li5h | Phocean_: i think it just requires reading of docs and people are a little reluctant to do that |
| Phocean_ | f00li5h: I did but my problem is understanding that docs f00li5h: I am not a programmer and my skills are low |
| f00li5h | Phocean_: i see |
| action | CPAN upload: Image-Magick-Thumbnail-PDF-1.05 by LEOCHARRE |
| CPAN | upload: Image-Magick-Thumbnail-PDF-1.05 by LEOCHARRE |
| f00li5h | oh-man, you know it's good news when a mail box has 3600 messages in it Phocean_: i'm installing Mail::Simple now |
| Phocean_ | f00li5h: Thanks a lot |
| pasteling | "phocean_" at 81.64.100.103 pasted "this is supposed to extract the attachement from the last unseen message. It displays well with IMAP:Talk, but I can't get it as a Mime object for extraction..." (94 lines, 2.4K) at http://sial.org/pbot/24664 |
| action | f00li5h sends a SIGFAIL to GumbyBRAIN |
| f00li5h | sends a SIGFAIL to GumbyBRAIN |
| GumbyBRAIN | caught sigfail? |
| mauke | haha, owned |