extract subroutine should put the new subroutine in a better place
|Reported by:||rhebus||Owned by:|
|Component:||Refactoring Perl 5||Version:||0.45|
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.