Commit 8dfbfc7
fix: remove duplicate sub pipe in FileHandle.pm
The `sub pipe` function was defined twice in FileHandle.pm:
- Lines 41-46: early definition added to ensure defined(&pipe) returns
true before the IO::Handle import filter on line 52
- Lines 103-108: the original definition that was never removed
This caused a "Subroutine pipe redefined" warning when warnings were
enabled (e.g. via jcpan -j 8 -t DateTime::Format::ICal).
Remove the second (redundant) definition. The early definition at
lines 41-46 is sufficient and correctly placed.
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 2034066 commit 8dfbfc7
2 files changed
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | 98 | | |
111 | 99 | | |
112 | 100 | | |
| |||
0 commit comments