|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: How do I convert VBA script to Perl? - Using Win32::OLEby serf (Chaplain) |
| on Jan 24, 2006 at 15:48 UTC ( #525206=note: print w/ replies, xml ) | Need Help?? |
|
If you're going to be building this block of code the same way in Perl i.e. using a sub then you could use return where it has Exit Sub. I'm sorry I'm on Linux so can't text Win32 MAPI stuff for you, but if your piece of code: works (by the way that's == for a test, not = which would be an assignment) then you could use:
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||