免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1452 | 回复: 1
打印 上一主题 下一主题

两个perl script有错误,求助 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-11-26 02:35 |只看该作者 |倒序浏览
我下载了两个perl script想用用,但运行时都说有错误,请高手指教,最好能给改改,多谢了

1.  undefined subroutine &main::getBaseFName called at AFLP_replicate_difference_v1.1.pl line 440

源程序:(439-442行)

# Get the base file name.
$base_fname = getBaseFName( @ARGV && $ARGV[0], $comments ) unless defined $base_fname;

# Print.

2.use of uninitialized value $base_fname in replicate_error_finder_v1.1.pl  line 121

源程序: (120-127行)

# Remove old files.
unlink $_ foreach glob $base_fname.'.*'.$TAB_DELIM_EXTN;


# Get hash table of replicates: each key in the hash table is a samle name, and points to an array of all of the
# other sample names that are replicates of each other. The array includes the sample name that is the hash key.
# Many hash keys can point to the same array.
my $reps_table = getRepsTable \%reps_table_options, $indicate_reps_using, @ARGV ? shift() : undef;

论坛徽章:
0
2 [报告]
发表于 2008-11-26 10:09 |只看该作者
貌似发错板块了把。。。。。

第一个错误是没有找到定义的函数,第二个是变量没有初始化。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP