Jonathan,

Thanks for the reply..

>use strict;

>Always, always, declare your variables with my.[1]  What do you mean by
"function" variables?

Ok, I understand you mean use 'my' to declare containers for incoming arg
variables - what about variables used just within the function - ought they
be 'my' vars as well?  Does this apply to the main function/main program
body too, or is this overkill?


>If you are suggesting "pass by global variable" then dont!  It can by very
hard to debug these programs.
What do you mean 'pass by global variable'?  Pass the global var in as the
arg and work on the same global variable within the function?

Thanks!

Mark

p.s. what does 'shift' refer to - apart from a list operator?

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to