in reply to Command Line Interpeter Errors

Giving the label a name prevents the problem for me.

$main->AddLabel(-name => 'dummy', -text => $text);

Examine what is said, not who speaks.
1) When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong.
2) The only way of discovering the limits of the possible is to venture a little way past them into the impossible
3) Any sufficiently advanced technology is indistinguishable from magic.
Arthur C. Clarke.

Replies are listed 'Best First'.
Re: Re: Command Line Interpeter Errors
by £okì (Scribe) on Mar 18, 2003 at 15:57 UTC
    Heh, thanks. That fixed the problem. Should note to the developers of Win32::GUI that is a problem I guess. That should have returned a syntax error not a crash of the interpeter.

      Well it couldn't be a syntax error, because syntactically, Perl doesn't know you should have a name for your label. It would have to be some kind of runtime error in the Win32::GUI module. But I do agree that it could have been caught without crashing the program.

      kelan


      Perl6 Grammar Student