in reply to Win32 MsgBox declaration

You could just put the MsgBox() call in the END() routine.
END{ Win32::MsgBox("Script completed.", MB_ICONINFORMATION); }
Then it will run when the script ends automatically. You don't even have to call the function.

- Tom

Replies are listed 'Best First'.
Re: Re: Win32 MsgBox declaration
by Anonymous Monk on Sep 10, 2003 at 16:31 UTC
    Thanks to both of you!