http://www.perlmonks.org?node_id=951097


in reply to Run a shell command in a new terminal from a perl script?

Which platform?  On Unix you can (for example) do something like this

system q/xterm -e perl -le 'print "line $_" for 1..20; <>'/;

which would print 20 ines in a new xterm, and wait for you to press enter to close the terminal again.  The -e option specifies the command to run in the xterm (some perl, here).  Virtually any other terminal has similar facilities.

Is that what you are trying to do?