A
Andrew Wheeler
Hello everyone,
I want to write a Perl program to edit an email then sent the email back
to the sender automatically.
My email program allows me to filter emails and send the email to a
program (As I already have done with Spam-Assassin)
However as this is my first real Perl Program and I need a little help
Can anyone point me to any documentation on how Perl handles a large block
of text (the email) when it is piped directly to a shell command (the Perl
program).
I need to replace all occurrences of [ ] with [ X ] so is it best to
treat the email as one block or break it into chunks and process the
chunks separately.
And what would happen if evolution pipes two separate messages the Perl
program? will the system start 2 separate programs or crash ?
Any comments gratefully received
Andrew
I want to write a Perl program to edit an email then sent the email back
to the sender automatically.
My email program allows me to filter emails and send the email to a
program (As I already have done with Spam-Assassin)
However as this is my first real Perl Program and I need a little help
Can anyone point me to any documentation on how Perl handles a large block
of text (the email) when it is piped directly to a shell command (the Perl
program).
I need to replace all occurrences of [ ] with [ X ] so is it best to
treat the email as one block or break it into chunks and process the
chunks separately.
And what would happen if evolution pipes two separate messages the Perl
program? will the system start 2 separate programs or crash ?
Any comments gratefully received
Andrew