Subject: | Warning message -- minor fix |
Use of /g modifier is meaningless in split at /usr/lib/perl5/site_perl/5.8.0/Net/Telnet/Cisco.pm line 756.
===================
Checksum for /root/.cpan/sources/authors/id/J/JO/JOSHUA/Net-Telnet-Cisco-1.10.tar.gz ok
dsdve2:~/saved>perl -v
This is perl, v5.8.0 built for i386-linux-thread-multi
Copyright 1987-2002, Larry Wall
dsdve2:~/saved>uname -a
Linux dsdve2.incipient.waltham 2.4.18-14.INCPT.3 #1 Thu May 27 11:47:19 EDT 2004 i686 i686 i386 GNU/Linux
================
Fixed by removing the g:
dsdve2:~# diff /usr/lib/perl5/site_perl/5.8.0/Net/Telnet/Cisco.pm.~1~ /usr/lib/perl5/site_perl/5.8.0/Net/Telnet/Cisco.pm
756c756
< return wantarray ? split /$/mg, $_ : $_; # ORS instead?
---
Show quoted text
> return wantarray ? split /$/m, $_ : $_; # ORS instead?