Skip to content
This repository was archived by the owner on Dec 11, 2024. It is now read-only.

Commit 5fe9e32

Browse files
committed
skip_backref_sv for EXPORT_FAIL
We should not try to save Exporter::EXPORT_FAIL Refs: CPANEL-42007
1 parent 2139c40 commit 5fe9e32

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/B/C/OverLoad/B/AV.pm

+3
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ sub skip_backref_sv ($sv) {
6565
return 1 if $name =~ m/::(?:bootstrap)$/;
6666
return 1 unless key_was_in_starting_stash($name);
6767

68+
# do not save backref for EXPORT_FAIL
69+
return 1 if $name =~ m/::(?:EXPORT_FAIL)$/;
70+
6871
return;
6972
}
7073

0 commit comments

Comments
 (0)