PDA

View Full Version : Problem with Perlscript rerun


Marty
06-08-2006, 10:01 AM
I have created a perlscript that uses the Tk package.
It runs just fine the first time but the 2nd time I run it, it get's
an error.
Error in ? (PerlScript) script code at Line 1, Column 0 (Internal Error)

If I close VBP and open it again, I can run the script again, one time only before I get the error again. I do not have this problem with scripts that don't have the use Tk; line. Any ideas?

Any other ways to create more sophisticated windows than msgbox in win32?

Marty

kinook
06-08-2006, 04:45 PM
Originally posted by Marty
I have created a perlscript that uses the Tk package.
It runs just fine the first time but the 2nd time I run it, it get's
an error.
Error in ? (PerlScript) script code at Line 1, Column 0 (Internal Error)

If I close VBP and open it again, I can run the script again, one time only before I get the error again. I do not have this problem with scripts that don't have the use Tk; line. Any ideas?
Sounds like something in the Tk layer needs to re-initialize some process-global information which it isn't doing.

Any other ways to create more sophisticated windows than msgbox in win32?
http://www.autoitscript.com/autoit3/
http://www.toptensoftware.com/QuickPrompts/
http://www.jansfreeware.com/articles/vbs-forms.html
http://www.sharewareriver.com/product.php?id=17889