|No such thing as a small change|
redeclaring variables with 'my'by tune (Curate)
|on Nov 10, 2000 at 16:24 UTC||Need Help??|
tune has asked for the
wisdom of the Perl Monks concerning the following question:
Hello all Monks!
I used to browse through all the codes you provide as a solution to the others questions.
I realized that lot of you used to redeclare variables in a while loop, for example:
The lead software engineer/guru here told me that it is a very bad behaviour, so better to avoid. As well there is a lot of guru here too, please tell me what is the truth. Is it dangerous, or I can apply this style without any PITA (pain in the ass)? :)