No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hey everyone,
I have a situation at work in which managements desired solution is an email, .forward, and a perl script. Basically, it needs to process the email content, do some db stuff, and log some stuff. As this is the first time I've done something like this, there's one thing in particular I do not understand. When I do this: The file does not get opened and written to. However, when I do this: the file does get opened and written to. My guess is that it has to do with I/O and buffering. The only thing I could think of was to set $|=1;, but that didn't work. I could do it the second way, since its pretty trivial, but I would really like to know how to do it the first way. As always, thanks for your wisdom davidj In reply to sending an email to a perl script by davidj
|
|