> > > Always try to do things within perl. Using the backticks to > system() the > external cat command will work only if the cat command exists > and is in the > $PATH. Also, it is less efficient as it involves forking > another process and > execing another file. > > While this may not matter in a 10 line prog, it will hit > performance big time > if it's inside a loop handling a directory with 1000s of files in.
I agree. I was assuming a unix system (which is a pretty good bet, cat is in the path) and the message body was not too big. was feeling lazy :-) > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]