Ticket #502 (assigned enhancement)

Opened 5 years ago

Last modified 2 years ago

code analyzis: find code not in subs, rearrange code

Reported by: szabgab Owned by: azawawi
Priority: major Milestone:
Component: Refactoring Perl 5 Version: 0.44
Keywords: Cc:

Description

When looking at a script or module I never saw before I am never sure there is no code between functions:

sub a {
}

die "hello world";

sub b {
}

Also END, BEGIN etc blocks are relevant.

I would like to make it easy to find any such code and maybe
even rearrange the file so I'll have all the non-sub stuff at the top.

Change History

comment:1 Changed 5 years ago by azawawi

  • Owner set to azawawi
  • Status changed from new to assigned

comment:2 Changed 3 years ago by szabgab

  • Component changed from editor to Refactoring Perl 5

comment:3 Changed 2 years ago by azawawi

Added to PadrePluginFix TODO

Note: See TracTickets for help on using tickets.