Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: Who are you, and what did you do to Net::Wake?

by girarde (Hermit)
on Apr 30, 2014 at 17:11 UTC ( [id://1084532]=note: print w/replies, xml ) Need Help??


in reply to Re: Who are you, and what did you do to Net::Wake?
in thread Who are you, and what did you do to Net::Wake?

I posted the exact code other than spoofing the hostname, username and mac address.
  • Comment on Re^2: Who are you, and what did you do to Net::Wake?

Replies are listed 'Best First'.
Re^3: Who are you, and what did you do to Net::Wake?
by Anonymous Monk on Apr 30, 2014 at 17:51 UTC

    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.

      Cloning the module inline worked. Something screwy about how it's being imported.

        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.

      Ahh. That clarifies things.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1084532]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-04-19 07:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found