Subject: | missing "require Exporter" causes failure on Fedora 10 |
Date: | Sun, 11 Apr 2010 19:10:29 -0400 |
To: | bug-Net-IPAddress [...] rt.cpan.org |
From: | Mukesh Agrawal <mukesh [...] cs.cmu.edu> |
I get an error when trying to use Net-IPAddress-1.10 on Fedora 10.
$ perl -e "use Net::IPAddress; print ip2num('1.1.1.1');"
Undefined subroutine &main::ip2num called at -e line 1.
The problem goes away if I add "require Exporter" at line 7 of
IPAddress.pm.
Additional information that might be helpful...
$ perl -v
This is perl, v5.10.0 built for i386-linux-thread-multi
$ cat /etc/issue
Fedora release 10 (Cambridge)
Kernel \r on an \m (\l)