Opened 11 years ago

Last modified 8 years ago

#502 assigned enhancement

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:


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

comment:1 Changed 11 years ago by azawawi

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

comment:2 Changed 9 years ago by szabgab

  • Component changed from editor to Refactoring Perl 5

comment:3 Changed 8 years ago by azawawi

Added to PadrePluginFix TODO

Note: See TracTickets for help on using tickets.