Don't ask to ask, just ask | |
PerlMonks |
Re: How do I convert VBA script to Perl? - Using Win32::OLEby ikegami (Patriarch) |
on Jan 24, 2006 at 16:17 UTC ( [id://525224]=note: print w/replies, xml ) | Need Help?? |
I can't help you much — this is outside my area of expertise — but I see some problems. In Inbox = $ns->GetDefaultFolder(olFolderInbox);, are you sure olFolderInbox is correct? Be sure to use use strict; and use warnings;. if ($Inbox->Items->$Count = 0) {
foreach ($Inbox->Items) {
In Section
Seekers of Perl Wisdom
|
|