in reply to Re^8: issue with code to save config on brocade swicth
in thread issue with code to save config on brocade switch

You never print the output in $out and $err before you stop your program. Maybe they contain useful information?