And remember to save that last non-empty "sub-header" when you reach EOF.start-of-file -> ??? -> sub-header sub-header -> /^sub / -> in-sub in-sub -> /^}$/ -> sub-header sub-header -> eof() || /^__(END|DATA)__$/ -> end-of-file
In reply to Re^2: Meta-perl - sorting my perl subs with perl?
by educated_foo
in thread Meta-perl - sorting my perl subs with perl?
by Syndaryl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |