免费注册 查看新帖 |

Chinaunix

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

请教perlcc编译文件运行的warning怎么消除 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-01-15 17:09 |只看该作者 |倒序浏览
使用到了 Net::Telnet::Cisco; 和Net::Telnet;
前者用到了这几个方法
my $cisco = Net::Telnet::Cisco->;new(Host =>; $switch);
$cisco->;login(Password =>; $password);
$cisco->;enable("$enablepwd" or die "Can't enable!\n";
@shrun = $cisco->;cmd('show run | in ip route');
后者用到了    my $session = Net::Telnet->;new( Host=>;$server, Port =>; $port, Errmode =>; 'return') ;
我在RH AS3上成功编译pl文件为可执行文件,能够正常执行,但是有下面这些报错
请教各位大虾,有没有什么办法能够消除这些报错?
--------------
perl: warning: Falling back to the standard locale ("C".
Constant subroutine POLLIN redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine POLLPRI redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine POLLOUT redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine POLLRDNORM redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine POLLWRNORM redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine POLLRDBAND redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine POLLWRBAND redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine POLLERR redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine POLLHUP redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine POLLNVAL redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine _IOFBF redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine _IOLBF redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine _IONBF redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine SEEK_SET redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine SEEK_CUR redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.
Constant subroutine SEEK_END redefined at /usr/lib/perl5/5.8.0/i386-linux-thread-multi/DynaLoader.pm line 65535.

论坛徽章:
0
2 [报告]
发表于 2005-01-16 09:33 |只看该作者

请教perlcc编译文件运行的warning怎么消除

全路径执行就不会出现这个warnning了
我也遇到这个问题,目前也没有解决,用上面的方法防止抛出warnning

论坛徽章:
0
3 [报告]
发表于 2005-01-16 23:36 |只看该作者

请教perlcc编译文件运行的warning怎么消除

郁闷,我全路径执行还是有这个warning

论坛徽章:
0
4 [报告]
发表于 2005-01-17 09:26 |只看该作者

请教perlcc编译文件运行的warning怎么消除

如果还有的话你就写一个shell,在shell script里面调用就应该能消除
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP