On April, 6 1998 at 11:8, "Paul J. Sala" wrote:
mhonarc220 -editidx -rcfile /var/local/lib/MHonArc2.2.0/examples/def-mime.rc
This is the output I got:
Reading database ...
Warning: Database (2.1.0) != program (2.2.0) version.
Reading resource file: /var/local/lib/MHonArc2.2.0/examples/def-mime.rc ...
Undefined subroutine &main::timegm called at /usr/prod/contrib/lib/perl-5.003
imelocal.pl line 60.
#This call to timegm is where the error at line 60 is coming from:
$time = &main'timegm + $tzmin*$MIN;
Its a problem with timelocal.pl. It makes the assumption that its
subroutines will get defined in the package "main". v2.2.0 no longer
defines routines and variables in the main package so when timelocal.pl
is required, the routine defined in it are put into the package called
Perl 5.004's timelocal.pl uses Time::Local, so the problem goes
The quickest solution to your problem is to make copy of timelocal.pl
and place it where you installed MHonArc's library files. Then
edit timelocal.pl (in MHonArc's lib directory). Change the call
to &main'timegm to &mhonarc'timegm.
Earl Hood | University of California: Irvine
ehood(_at_)medusa(_dot_)acs(_dot_)uci(_dot_)edu | Electronic
http://www.oac.uci.edu/indiv/ehood/ | Dabbler of SGML/WWW/Perl/MIME