in reply to Re^4: Whats its bad here?
in thread Whats its bad here?

That's what use strict; is for. It forces you to predeclare your variable names, so it can catch mistyped variable names. If you predeclare $vTemp2 like this:

use strict; my $vTemp2; ...

your program will work and you get the benefit of Perl alerting you when you mistype the name.