Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
1) avoiding excessive nested blocks in terms of length and depth, 2) having a single point of return or exit from a routine or subroutine and 3) avoiding goto. That's why Larry created subroutines. And (2) is just a stupid restriction. Adding extra returns is one of the most effect refactoring tools I found. - tye In reply to Re^2: Number of times I've used goto in Perl (sub, return++)
by tye
|
|