in reply to MsgBox vs. print
in thread Watching Perl die() under Win32

As far Windows 98SE is concerned, the PROMPT is set $p$g whether a script is invoked from the command line, clicked, or from the Start-Run dialog box. The CMDLINE is set to whatever was typed on the command line and to WIN if invoked by clicking or from the Start-Run box. If you use the Start-Run box you can pass arguments just as you can from the command line.