First of all, I forgot to attach the script. Just to be complete I'll attach it anyway.

The problem is fixed now. The script was mainly generated by the (wonderful) wxGlade 
tool, which includes the line

unless (caller) {
...
}

By commenting that line, par again compiles and now the fileviewer.exe file runs 
perfectly. Maybe something for an FAQ?

Q: If I try to compile my wxGlade generated script, it doesn't run. What's wrong?

A: Comment out the line that starts with ' unless (caller) ' And compile it again...

Cheers!

-- 
 --------------------------------------------------------------------
| pVoice  : http://www.pvoice.org           | mail : [EMAIL PROTECTED]|
| Personal: http://jouke.pvoice.org         | phone: +31 6 41813351  |
| Resume  : http://jouke.pvoice.org/cv.html | fax  : +31 10 2430717  |
 --------------------------------------------------------------------

Attachment: fileviewer.pl
Description: Perl program

Reply via email to