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

Hi Monks, Once again I've exhausted my resources and come humbly asking... more old code I need help with: before every...

$guiMain->grabRelease;

there is a call to:

busy(0);

Which I assumed was some kind of wait or well, not really sure, but could not find anything about this? As always, your expertise is greatly appreciated.

Replies are listed 'Best First'.
Re: what is busy(0)
by toolic (Bishop) on May 19, 2015 at 15:33 UTC
    More context would help.

    A search on CPAN for "grabRelease" hints at Tk. And a grep there for "busy" shows a bunch of hits, but no function of that exact name. Did you declare a sub in your code named busy?

      Monks... please pardon my ignorance. busy in this context is a local function declared by the original programmer to decide whether a widget is busy... to then control:

      $guiMain->Busy(-recurse => 1);

      OR

      $guiMain->Unbusy(1);

      Sorry for wasting your time.

        Oh, it's not as serious as all that. Just suggesting a path toward optimization of getting your answer. Most of us are pretty relaxed here at the Monastery; and those who are not simply serve their purpose of being an example of how not to behave in public. : -)
Re: what is busy(0)
by marinersk (Priest) on May 19, 2015 at 15:33 UTC

    It would be helpful to know what kind of object $guiMainis.

    I'm inclined to believe there are at least two, and probably more, modules which are designed to facilitate GUI stuff. Knowing which module(s) you are using helps narrow the list of what needs to be researched in order to find your busy()method.

    ++toolic: Beat me to the post, and did the research.