[H-GEN] Perl temp problem

Edwin Groothuis edwin at mavetju.org
Sun Apr 27 19:57:13 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

On Mon, Apr 28, 2003 at 09:16:08AM +1000, Tony Melia (DMS) wrote:
> #!/usr/bin/perl
> System("lynx -source http://whatever <http://whatever>  | mail
> me at myaddress").  

Why don't you open() it, read the output and mail it with a
MIME::Lite? No dependency on mail(1), proper error-reporting is
possible etc. And you can add your 24 line disclaimer too!

Edwin

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin at mavetju.org    |    Weblog: http://www.mavetju.org/weblog/weblog.php 

--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list