Re: Perl Tk:Scheduler command called subroutine fails to talk to tk widgets



Some further investigation shows that the tk::scheduler executes the -
command switch by executing the assigned code throgh a Perl eval()
statement.

I suspect what is happening is that the Perl code inside the eval() is
out of scope to variables outside the eval statement (including the
scheduler.pm module, and the parent Perl program utilizing the
scheduler).

.



Relevant Pages

  • More questions about "perldoc perlembed"
    ... let me say that I am trying to run Perl ... when I try to run the following simple little Perl script: ... "BOOT" section was not being executed, and to put a breakpoint there ... But now when the call to perl_runexecutes, ...
    (comp.lang.perl.misc)
  • Re: Perl inconsistency
    ... > I think that I found some inconsistency in Perl. ... So it actually executes as long as the result is *defined*, ... That feature was put in to avoid having to code ... reading lines which evaluate to false which you mention. ...
    (comp.lang.perl.misc)
  • Re: Blocks location
    ... How about the BEGIN and END blocks in the perl scripts?Is the BEGIN ... executed as soon as they are encountered in the compilation phase. ... a better idea of how it compiles and executes. ... Perl and CGI -- http://users.easystreet.com/ovid/cgi_course/ ...
    (perl.beginners)
  • Re: Perl Tk:Scheduler command called subroutine fails to talk to tk widgets
    ... command switch by executing the assigned code throgh a Perl eval ... I suspect what is happening is that the Perl code inside the evalis ... Thank you for following up on your own posting with some insight. ...
    (comp.lang.perl.modules)
  • Re: In what order does a program run..??
    ... perl reads in your source file and parses the code from top to bottom. ... encounters any 'BEGIN' subs, it executes ...
    (perl.beginners)