in reply to Re: Re(5): Creating entries in an Outlook Calendar
in thread Creating entries in an Outlook Calendar
It should be even simpler:
my @folder_names = (); my %folder_contents = (); my $folders_collection = $namespace->Folders(); foreach my $folder (in( $folders )) { my $folder_name = $folder->{Name}; my $folder_items = $folder->Items(); push @folder_names, $folder_name; $folder_contents{$folder_name} = []; foreach my $item (in( $folder_items )) { push @$folder_contents{$folder_name}, $item->{Name}; } }
dmm
If you GIVE a man a fish you feed him for a dayBut, TEACH him to fish and you feed him for a lifetime
|
---|
In Section
Seekers of Perl Wisdom