in reply to Re: problems passing variables between subroutine
in thread problems passing variables between subroutines
Please don't encourage needless use of prototypes!
Also in simple cases passing arrays by reference serves only to obscure the code so don't do that. Just because a technique fixes a problem in some cases, doesn't mean it should be used in all cases. Be selective about the habits you acquire and apply them along with a little consideration rather than blindly following a set of rules.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: problems passing variables between subroutine
by Anonymous Monk on Sep 05, 2012 at 09:11 UTC |