[Mimedefang] open(FOO, "bar |") vs. `bar`

Matthew.van.Eerde at hbinc.com Matthew.van.Eerde at hbinc.com
Mon Oct 31 18:02:40 EST 2005


I've been experimenting with various MIMEDefang features...
I notice that the Virus:BDC plugin in particular does an open(HANDLE, "command |") call to capture the output, whereas my Spamc feature uses `spamc`...

I see that open(FOO, "bar |") allows you to capture the return code, which is nice.

Where could I read up on the comparative benefits of open(FOO, "bar |") vs. `bar` vs system("bar") etc.?

-- 
Matthew.van.Eerde (at) hbinc.com               805.964.4554 x902
Hispanic Business Inc./HireDiversity.com       Software Engineer




More information about the MIMEDefang mailing list