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

Re^2: Perl script to run sudo command(s) on multiple boxes without the use of expect module.

by durgesh_p (Initiate)
on Aug 05, 2015 at 17:49 UTC ( [id://1137560]=note: print w/replies, xml ) Need Help??


in reply to Re: Perl script to run sudo command(s) on multiple boxes without the use of expect module.
in thread Perl script to run sudo command(s) on multiple boxes without the use of expect module.

I am new to perl..still learning...not sure how to use these modules... I am looking if someone has a existing script already...
  • Comment on Re^2: Perl script to run sudo command(s) on multiple boxes without the use of expect module.

Replies are listed 'Best First'.
Re^3: Perl script to run sudo command(s) on multiple boxes without the use of expect module.
by 1nickt (Canon) on Aug 05, 2015 at 18:20 UTC

    Most worthwhile CPAN modules have a sample script, or examples, or at least enough in the Synopsis to get you started.

    Even if there were a magic script available it wouldn't be wise for you to use such a script if you didn't understand it. How would you know if it was safe to use?

    Being new at Perl is the same as being new at everything else. You have to study, and learn, and practice, before you can successfully do it.

    Your task is simple but not trivial. You should understand how to use modules, and you should start with a trivial task and simple modules. If you are bright it will take you about 1.5 days before you will be able to return to this task and use the more complicated modules to build your script. At that time you should begin by trying to connect to just one remote server before trying many simultaneous connections.

    You might be able to find some shortcuts, but there is no time portal that will instantly transport you to understanding. You just have to do the work. Monks in this thread have pointed you in the right direction, now start reading!

    The way forward always starts with a minimal test.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-24 02:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found