Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

network perl question

by perlsyntax (Pilgrim)
on Nov 26, 2007 at 17:57 UTC ( [id://653048]=perlquestion: print w/replies, xml ) Need Help??

perlsyntax has asked for the wisdom of the Perl Monks concerning the following question:

I was thinking about makeing a script with this cpan:://NetworkInfo::Discovery How would i write a perl script that would do something like this so it will fix any network i am on? can someone show me a script that is example?

Replies are listed 'Best First'.
Re: network perl question
by shmem (Chancellor) on Nov 26, 2007 at 18:27 UTC
    How would i write a perl script that would do something like this so it will fix any network i am on?

    That module won't fix a network: it won't clean up broken routing tables, bogus DNS settings, multiple competing DHCP servers overwriting each others resources, or beat to death hosts with the same IP on the network, or else. The module is stuffed with examples, so reading those could give you a clue.

    What do you mean by 'fix'? what breakage are you searching for? If you told that, it would be a starting point for helping.

    --shmem

    _($_=" "x(1<<5)."?\n".q·/)Oo.  G°\        /
                                  /\_¯/(q    /
    ----------------------------  \__(m.====·.(_("always off the crowd"))."·
    ");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
      I was just hope it will help me map out my own network but maybe i was wroung about it.Maybe there a way i could.Sound like i got alot of reading to do.:) thanks for the help.

Log In?
Username:
Password:

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

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

    No recent polls found