in reply to Re^2: While problem
in thread While problem

"There isn't any errors!!!"

Then you are not running the code you posted here. Don't bother posting code here which you aren't actually running, it's a waste of our time. As roboticus pointed out previously:

"Try posting the code you actually run or don't gratuitously paste in a "use strict; use warnings;" at the beginning if you're not actually using them."