Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by Anonymous Monk
on Apr 30, 2014 at 17:51 UTC ( [id://1084534]=note: print w/replies, xml ) Need Help??


in reply to Re^2: 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 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.

Replies are listed 'Best First'.
Re^4: Who are you, and what did you do to Net::Wake?
by girarde (Hermit) on May 01, 2014 at 20:20 UTC
    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.

        > ... contents (whether it matches the source code from CPAN) ...

        for completeness

        perldoc -m Net::Wake

        shows the content directly.

        edit

        and my pager shows the opened path in the bottom line.

        Cheers Rolf

        ( addicted to the Perl Programming Language)

Re^4: Who are you, and what did you do to Net::Wake?
by girarde (Hermit) on May 01, 2014 at 17:06 UTC
    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://1084534]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (4)
As of 2024-04-19 16:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found