Hi,
you've got me right!!. Thats exactly what I want to do.
parvez
Sisyphus wrote:
> ----- Original Message -----
> From: "Carl Jolley" <[EMAIL PROTECTED]>
> To: "Sisyphus" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Sunday, June 23, 2002 5:53 AM
> Subject: Re: Trapping Interrupts on Windows
>
> > On Fri, 21 Jun 2002, Sisyphus wrote:
> >
> > >
> > > ----- Original Message -----
> > > From: "parvez" <[EMAIL PROTECTED]>
> > >
> > >
> > > > Hi,
> > > > Using the goto sometimes causes an unusual error saying something
> like
> > > > "Cannot find label XXXXXX at line ZZ ..."
> > > >
> > >
> > > That's what I also found.
> > >
> > > > Also using the exit in the handler works fine in Unix for me.
> > > >
> > >
> > > Yes - Unix supports signals, but windows doesn't.
> > >
> >
> > You're correct about Win32 and signals but Win32 perl does
> > support END blocks.
> >
>
> Does this mean that parvez can achieve what he wants via an END block ?
>
> As I understand the question, he wants his program to take different
> actions, based on whether the program has terminated normally or whether it
> has been terminated by the user (with ctrl-c). I don't know how you could
> get that information to the END block.
>
> Cheers,
> Rob
>
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs