perlquestion
tune
Hello all Monks!
<p>
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:
<br>
<code>
while (my $var) {
#do something with $a
}
</code>
<p>
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)? :)
<p>--
tune