Do you know where your variables are? | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Quickly, why mix up subroutines and large chunks of code?
May I suggest something like:
I think that this is clearer and easier to understand. It maximises the benefit of using subroutines. Other than that I agree with the above comments on CGI and strict. CGI is very important from an upkeep point of view - so long as you keep your CGI module up to date you don't have to worry about rewriting your code to match the latest standards. strict is a very useful learning tool. "The significant problems we face in life can not be solved at the same level of thinking we were at when we created them." -Albert Einstein In reply to Re: C any bugs?
by murphya
|
|