I been coding perl for past 4 month and I am still very much in very begining stage.
As I am trying to read and write more longer program and trying to leave the begining stage behind
I run into one question that I cannot find any answers from anywhere.
Is there a hard rule regarding when to use subroutine?
How does one know if using subroutine is better than not using it?
Can you guys share(or at least point me to right direction or URL) your rules or where you learned
when the best time to use subroutine?
Any help would be greatly appreciated.