- 论坛徽章:
- 0
|
使用到了 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. |
|