Opened 5 years ago

Last modified 4 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:

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

comment:1 Changed 4 years ago by szabgab

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