if ($string_from_gui ne 'this is the string that works') { die "$string is not the same string!\n"; }