[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Call MHonArc from a perl script



"leo.ufv" wrote:
> 
> Is there a better way to call MHonArc?

You might want to try:

    unshift(@INC, /path/to/mhonarc/library);
    require 'mhamain.pl';
    mhonarc::initialize();
    mhonarc::process_input(
	'-quiet',
	'-add',
	'-outdir', /usr/local/apache/share/htdocs/ljs/outbox,
	/usr/local/apache/share/htdocs/users/ljs/inbox
    );

/ Gunnar


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]