in reply to [PERL Tk] printing Line number in Text widget.

The code is not printing the character and line number even for the non-Scrolled Text widget. Try scrolling down and up again - the numbers never decrease. The Scrolled object is used mainly to avoid the struggle with [xy]scrollcommand - have you read the documentation of scrollcommands in Tk::options? You can create separate Scrollbar objects and define your scrolling methods if it is really what you need.
  • Comment on Re: [PERL Tk] printing Line number in Text widget.