P is for Practical | |
PerlMonks |
Re^3: TK "textvariable" not updating with @var but ok with $varby Laurent_R (Canon) |
on Jan 27, 2017 at 07:28 UTC ( [id://1180438]=note: print w/replies, xml ) | Need Help?? |
It wasn't a question of name space, but an issue of using meaningful variable names, i.e. names that make sense to you and to your reader. The only thing that the name $var tells you is that it is probably a variable, but that was already known.
If you use a more useful name, such as $counter, $nb_of_customers, $time_left_to_ignition, that helps understanding what's going on in the program.
In Section
Seekers of Perl Wisdom
|
|