Hi all, Can someone please help and advise if it is possible to have the output of the code below to the screen and at the same time to the file as well?
open(ORA, "| dgmgrl > dgmgrl.out" ) or die "Can't pipe to dgmgrl: $!"; print ORA "connect sys/passw...@${connect_string_02}\n<sys/passw...@$%7bconnect_string_02%7d\n> "; print ORA "show configuration verbose\n"; close ORA; At the moment it output to file which is okay ... but if possible I want it to print out the output as well. Any help will be very much appreciated.