Spencer Chase wrote:
> Greetings perl-win32-users,
>
> Not sure what group to post this to so I am trying this one first.
>
> I have a perl TK script that uses StayOnTop. It works fine when I run
> it from Komodo but when I try to make an exe with PerlApp, it does not
> work. I have installed StayOnTop with the graphical PPM and the module
> is in site\lib\tk as expected. When I test from perlapp, I get the
> error message listed below. I have also pasted the relevant portion of
> StayOnTop.pm.
>
> Bareword found where operator expected at
> /<D:\Perl\program_changer.exe>Tk/StayOnTop.pm line 107, near "case
> METHOD_ATTRIB" (Do you need to predeclare case?) syntax error
> at /<D:\Perl\program_changer.exe>Tk/StayOnTop.pm line 99, near ") {"
> syntax error at /<D:\Perl\program_changer.exe>Tk/StayOnTop.pm line
> 107, near "case METHOD_ATTRIB " Global symbol "$obj" requires explicit
> package name at /<D:\Perl\program_changer.exe>Tk/StayOnTop.pm line
> 108. BEGIN failed--compilation aborted at program_changer.pl line 6.
You need to supply the smallest *complete* script that you can that
reproduces your problem. Nobody can run what you posted in it's current
form. Strip your script down to something simple that fails like your
current script does - then run it to make sure it reproduces the problem
correctly and cut-n-paste it here.
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs