in reply to Win32 MsgBox declaration
doesn't do anything. In fact, if you run your program with "-w" or "use warnings", you'll get the message "Useless use of private variable in void context".$output;
Perhaps you want to make a subroutine like this:
Then you can call showend() where your are now doing $output.sub showend { Win32::MsgBox("Script completed.", MB_ICONINFORMATION); }
|
|---|