in reply to Re: Thoughts on using subroutines to clean up code?
in thread Thoughts on using subroutines to clean up code?
Thanks, this helps. For some reason, I have it my head that I should only create a subroutine if it will be used more than once. Knowing that that isn't a hard and fast rule helps.
$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Thoughts on using subroutines to clean up code?
by stevieb (Canon) on Mar 10, 2017 at 16:16 UTC |