| f00li5h | jsoftw: oh, because of php's builtin mail() function? |
| jsoftw | No. |
| revdiablo | jsoftw: You probably can, but that doesn't mean the CGI is written ideally to modern Perl standards |
| Khisanth | you probably can, doesn't mean I would ever want to maintain and expand it :) |
| DrCherry | those mailer scripts are spammer magnets |
| revdiablo | I used to think Perl CGI was ugly, but that's because I was looking at ugly examples (also I was 15, and not as smart as I am now, if you can believe that) |
| f00li5h | DrCherry: pff, all traffic is good traffic [tm] |
| Khisanth | If you are writing a throw away script then the choice of language and any consideration other than "what can let me get things done fastest and with least work" is irrelevant |
| czthIII | CGI needs a framework to deuglify |
| DrCherry | heh |
| revdiablo | There are about 37 of them =) Common ones I mean |
| jsoftw | Im not going to expand it, I just ponder the idea of replacing it, instead of trying to figure it out and fix it. |
| revdiablo | jsoftw: It could be better for you. If you know PHP, and you could write it in PHP and be happy... well, go nuts |
| Khisanth | possibly better for us and #perl :) |
| pstickne_ | except for the fact using PHP *should* make you sad.. |
| revdiablo | Khisanth: Shhh, I was going to leave that unstated ;) |
| Khisanth | evangelist are overly optimistic people |
| DrCherry | you could use a perl cgi front-end and do some kind of funky ajax submit. that'd be nerdy. |
| revdiablo | DrCherry: A perl cgi frontend? I'd do the ajaxy bits in pure JS and use perl as a backend, if anything. |
| Khisanth | well this is getting worst, now we are throwing in JS for no apparent reason than to add buzzword? |
| revdiablo | Ajaxy stuff can be quite a bit nicer to use. The smaller requests are nice. |
| Cbro | Khisanth: Funny things are happening to the perl script... When i read in the file and print out the first couple of lines.. .they already have a SPACE character after each char... but the input file is OK! Khisanth: Any clues as to why this might be happening |
| DrCherry | no way, the js allows you to avoid a form submit |
| Cbro | I am just doing a simple while loop like : while(<DAT>){ print $_ } |
| revdiablo | DrCherry: You still have to submit requests |
| Khisanth | Cbro: I am not in the habit of guessing what code people have written, stopped doing that long ago because that wastes too much time |
| revdiablo | DrCherry: It just happens in a different way |
| DrCherry | revdiablo, yeah with js duh |
| action | DrCherry gets out the hair splitter |
| DrCherry | gets out the hair splitter |
| revdiablo | DrCherry: Yes, I understand. Did you see my earlier statement? |
| DrCherry | revdiablo, I was responding to Khisanth |
| Khisanth | if you want validation, that still wouldn't need Ajax :) if you ARE using ajax then what the heck are you avoiding again? |
| DrCherry | reloading the page |
| f00li5h | Khisanth: you can send back a tiny little bit less html for the 1 or 2 submissions of your conteact form, ever |