Nalina has asked for the wisdom of the Perl Monks concerning the following question:
msgbox.pl contains the following code.perl C:\msgbox.pl
Now I want to pass $val to snmx script back. I trieduse Win32; $caption = "asg report"; $val = Win32::MsgBox("data for 22nd not found.\n Do u want to continue +?", 4, $caption);
but got an errorreturn($val)
how do I pass parameter from perl script msgbox.pl to snmx which has called msgbox.pl.Can't return outside a subroutine at C:\msgbox.pl line 5.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Passing parameters from perl to snmx
by jbrugger (Parson) on Mar 16, 2005 at 07:32 UTC | |
by Nalina (Monk) on Mar 16, 2005 at 08:18 UTC | |
|
Re: Passing parameters from perl to snmx
by PodMaster (Abbot) on Mar 16, 2005 at 08:13 UTC |