in reply to Perl Send-Expect Input discrepancy
print $fh "y\n";
to
print $fh "y";?
WARNING: Are you sure you want to destroy volume f3050_233_10_vserver_cifs_2_dynamic_vol1 in vserver f3050_233_10_vserver_cifs_2 ? {y|n}: yy