Thank you for all your help, and I am sorry that I am having such a hard time getting this, but your last fix really helped out. I now get slides that are added, and that are the correct layout, but no text?
The error I get is Win32::OLE(0.1502) error 0x80048240
in METHOD/PROPERTYGET "Slides" at powerpoint_create_withEDM.pl line 259
Win32::OLE(0.1502) error 0x80020003: "Member not found"