Hi Eric,
Thanks for the prompt reply. I have tried compiling on the command line and got the same error. (also I am not using any options or arguments on the commad line)
I have re-checked the path and environment variable, they seem fine.
I am attaching a detailed error report. I am not proficient enough to make sense of what it means. But it might help the yourself and others to help me out.
I am attaching a detailed error report. I am not proficient enough to make sense of what it means. But it might help the yourself and others to help me out.
Thanks,
Tejanshu
On 5/27/06, Eric Stallworth <[EMAIL PROTECTED]> wrote:
hey,
for starters, have you tried compiling this on the command-line?
Just by looking at the error message you've
received kinda shows that it didn't really come from the perl
interpreter. Its highly likely that your IDE is having some trouble
with something (finding perl path, finding win32, etc..) and generating
this error. Some starter advice for just starting perl would be to
stick to the basics (notepad ++) and compile by command-line via unix or
dos/msdos/w/e. hope this helps.
-eric
Tejanshu wrote:
> Hi Perl Gurus,
>
> I am new to perl programming, I have a small query here below, kindly
> assist.
>
> This is a standard code snippet found on
> http://search.cpan.org/~robertmay/Win32-GUI-1.03/docs/GUI/Tutorial/Part1.pod
> <http://search.cpan.org/%7Erobertmay/Win32-GUI-1.03/docs/GUI/Tutorial/Part1.pod>
>
>
> *use Win32::GUI;
> $main = Win32::GUI::Window->new(
> -name => 'Main',
> -width => 100,
> -height => 100,
> );
> $main->AddLabel(-text => "Hello, world");
> $main->Show();
> Win32::GUI::DialogBox();*
>
> * sub Main_Terminate {
> -1;
> }*
>
> I have the environment variables set. I have the Win32::GUI at the
> right place (PATH).
>
> But when I try to compile this program (using IDEs like PerlExpress or
> SCiTE) I get the following windows error message.
>
> *
>
> perl.exe has encountered a problem and needs to close. We are sorry
> for the inconvenience.
>
> *
> Can you please tell me where is the problem.
>
> Thanks,
> Tejanshu
> --
>
> " You have to be the change that you want to see"
> --- Mahatma Gandhi
> ------------------------------------------------------------------------
>
> _______________________________________________
> ActivePerl mailing list
> [email protected]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
--
" You have to be the change that you want to see"
--- Mahatma Gandhi
ÿþ<