Ticket #537 (new defect)
extract subroutine should put the new subroutine in a better place
| Reported by: | rhebus | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Refactoring Perl 5 | Version: | 0.45 |
| Keywords: | Cc: |
Description
Currently the new sub is dumped at the end of the file. This is easy, but incorrect if it is after the 1; line of a .pm or after a END line, and ugly if it is after any pod.
The best thing would be immediately after or before the subroutine it was extracted from.
Change History
Note: See
TracTickets for help on using
tickets.
