Commit 3ab0369
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 91c779a commit 3ab0369
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
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