Hi, I have to configure yum installation using perl. I want write script for
[r...@bis-testqa ~]# yum install perl Setting up Install Process Parsing package install arguments Package perl - 4:5.8.8-10.el5_0.2.x86_64 is already installed. Resolving Dependencies --> Running transaction check ---> Package perl.i386 4:5.8.8-15.el5_2.1 set to be updated ---> Package perl.x86_64 4:5.8.8-15.el5_2.1 set to be updated --> Finished Dependency Resolution Dependencies Resolved ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: perl i386 4:5.8.8-15.el5_2.1 updates 12 M Updating: perl x86_64 4:5.8.8-15.el5_2.1 updates 12 M Total download size: 24 M Is this ok [y/N]: y Downloading Packages: (1/1): perl-5.8.8-15.el5_ 10 ------------------------------------------------------------------------------------------------- I want to pass yes/no argument to this comment : (Is this ok [y/N]: [y] ) . How we can do this in perl? -- Thanks, MAhesh