Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: Idiomize This - Cleanup/Transformby Anonymous Monk |
on Apr 16, 2012 at 02:10 UTC ( [id://965227]=note: print w/replies, xml ) | Need Help?? |
schwern would turn each if/else block into a function. See his slideshow about this skimmable code where he tackles refactoring WWW::Mechanize, and the shorter version of the skimmable code talk, in the longer version he subliminally introduces Method::Signatures
In Section
Seekers of Perl Wisdom
|
|