The `eval' and `do' functions should clear $@ variable on success. However this does not happen always: eval { die "shouldn't see this\n" }; do 'no such file'; warn $@ if $@; This has been fixed in upstream commit: commit a3ff80c12c16886edf9acdd3d172798e50defdb3 Author: Eric Brine <ikegami> Date: Mon Jun 18 14:56:32 2012 -0400 RT#113730 - $@ should be cleared on "do" IO error. Tested with perl-5.14.2-198.fc16.x86_64. All Fedoras are affected probably.
This issue has been fixed in upstream with commit: commit a3ff80c12c16886edf9acdd3d172798e50defdb3 Author: Eric Brine <ikegami> Date: Mon Jun 18 14:56:32 2012 -0400 RT#113730 - $@ should be cleared on "do" IO error. perl 5.16.1 is affected too.
perl-5.16.1-230.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/perl-5.16.1-230.fc18
perl-5.14.2-214.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/perl-5.14.2-214.fc17
perl-5.14.2-200.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/perl-5.14.2-200.fc16
Package perl-5.16.1-230.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing perl-5.16.1-230.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-13814/perl-5.16.1-230.fc18 then log in and leave karma (feedback).
perl-5.16.1-231.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/perl-5.16.1-231.fc18
perl-5.14.2-215.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/perl-5.14.2-215.fc17
perl-5.14.2-201.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/perl-5.14.2-201.fc16
perl-5.16.1-231.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.