in reply to
in thread Sys::IP
heh, i _knew_ that BEGIN foolishness wasn't going to do what i thought it would. I was constantly doing the following:
nooky:~$ sudo cp IP.pm /usr/lib/perl5/5.6.0/i386-linux/Sys/
nooky:~$ perl -MSys::IP -e 'print ips()'
over and over again. I must not have tested the BEGIN version (I originally did what you did). But thanks for the feedback. I'm fixing that, and I'll try the new Win32 stuff, and if all goes well, I'll ship it off to CPAN.
: This post may contain inaccurate information, be habit forming, cause atomic warfare between peaceful countries, speed up male pattern baldness, interfere with your cable reception, exile you from certain third world countries, ruin your marriage, and generally spoil your day. No batteries included, no strings attached, your mileage may vary.