Advertisement

05.12.2008 at 03:51AM PDT, ID: 23394125 | Points: 500
[x]
Attachment Details

Automating interactive script

Asked by rameshramph07 in Perl Programming Language

Tags: ,

I have a requirement to create and wrapper script which will call the main script ( copy file ), the main script is interactive one, which is menu driven and have last of options. when user enter the first option in main script, then main script present user with other menu.

for example.

main script  (copy_file)

#perl copy_file.pl

1. Do you want to configure network.
2. Do you want to take configuration backup
3. Erase current configuration.

please enter :2

1. backup on tape
2. backup on dvd
3. backup on hardrive.

Please Enter 3

1. full backup.
2. only system configuration file
3. Only appliation configuration.

please enter option :2

.........................................


I want to automate copy_file.pl script through my wrapper script so that user don't have to seat
and enter every option.



please help me in this regards

thanks in advance

Start Free Trial
[+][-]05.12.2008 at 08:10AM PDT, ID: 21547643

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.12.2008 at 08:43AM PDT, ID: 21547978

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.12.2008 at 09:22AM PDT, ID: 21548282

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.12.2008 at 09:46AM PDT, ID: 21548497

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 11:50PM PDT, ID: 21561728

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628