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