Commit 5ea8c7e
committed
Time::HiRes: avoid importing via export_to_level
The export_to_level function forces Exporter to always load
Exporter::Heavy. This can be avoided by only using Exporter::import.
Time::HiRes's import is only trying to prevent exports of unimplemented
functions and doesn't need to make any modifications to its arguments.
This means doing a goto &Exporter::import will do everything needed.1 parent de36a92 commit 5ea8c7e
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
| 77 | + | |
79 | 78 | | |
80 | 79 | | |
81 | 80 | | |
| |||
88 | 87 | | |
89 | 88 | | |
90 | 89 | | |
91 | | - | |
| 90 | + | |
92 | 91 | | |
93 | 92 | | |
94 | 93 | | |
| |||
0 commit comments