From: Dan B. <dan...@gm...> - 2010-12-16 17:26:45
|
Hi Everybody! I was finding the following error when running printScaff with the -dot option: Undefined subroutine &main::printHeader called at /.../AMOS/bin/printScaff line 205. I found the problem was with the 'package' declaration of the DotLib package defined in /.../AMOS/lib/AMOS/DotLib.pm, which should be "package AMOS::DotLib;", like all the other packages there, and not "package DotLib;", which it is currently in the CVS. Here is the diff: diff -C 3 /.../AMOS/lib/AMOS/DotLib.pm~ /.../AMOS/lib/AMOS/DotLib.pm *** /.../AMOS/lib/AMOS/DotLib.pm~ 2010-12-16 14:04:57.301373000 +0000 --- /.../AMOS/lib/AMOS/DotLib.pm 2010-12-16 17:06:35.528796000 +0000 *************** *** 22,28 **** =cut ! package DotLib; use strict; --- 22,28 ---- =cut ! package AMOS::DotLib; use strict; Cheers, Dan. |