Opened 11 years ago

Last modified 9 years ago

#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:


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 (1)

comment:1 Changed 9 years ago by szabgab

  • Component changed from editor to Refactoring Perl 5
Note: See TracTickets for help on using tickets.