priyaviswam has asked for the wisdom of the Perl Monks concerning the following question:

Please let me know how to get the Status of the progress bar of an installation window in perl Requirement : Automation of installation. While installation in progress, is there anyway to get the status of the installation(status of the progress bar).

Replies are listed 'Best First'.
Re: Status of progress bar in perl
by Anonymous Monk on Jul 19, 2011 at 05:28 UTC
    Without more information, I'm left with suggesting magic.

      Updated the requirement

Re: Status of progress bar in perl
by kcott (Archbishop) on Jul 19, 2011 at 14:30 UTC

    The CPAN module Smart::Comments may be of use.

    The book Perl Best Practices has a section entitled Progress Indicators (Chapter 10 - page 222 in my copy) which may also prove useful.

    -- Ken

Re: Status of progress bar in perl
by mahis_431 (Novice) on Jul 19, 2011 at 08:27 UTC
    Use module Tk::ProgressBar
    my $ progress = $ widget-> ProgressBar (      -Width => 20,     -Length => 300,     -From => 0,       -To => 100,     -Colors => [0, "# 0090F0"],     -Gap => 0,     -Troughcolor =>"# A5A5A5" ) -> Pack (qw /-side bottom-fill x-expand 0 /)
    Have you worked on PerlTk threads?
      That assumes this is not some kind of GUI automation situation ... :)
Re: Status of progress bar in perl
by Anonymous Monk on Jul 19, 2011 at 14:47 UTC