I think what LanX meant is to copy and paste the sub by_udp (and the use IO::Socket;) from the module's source code and try using that in your script directly. If it doesn't work, then that can be debugged, and if it does, then something strange is going on with the import of the module.
| [reply] [d/l] [select] |
Cloning the module inline worked. Something screwy about how it's being imported.
| [reply] |
The command perl -MNet::Wake -le 'print $INC{"Net/Wake.pm"}' will give you the location of the module file Perl loaded. Take a look at that file: permissions (including of the parent directories), contents (whether it matches the source code from CPAN), and anything else that looks out of the ordinary. You could post that information, together with the output of perl -V, if you want other people to take a look.
| [reply] [d/l] [select] |
Ahh. That clarifies things.
| [reply] |