in reply to perl interactive shell, and GUI

You have to be careful with Tk, with threads or with forks. See backgrounding a Tk process. Or be more specific in what need to do.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku ................... flash japh