Friday, May 6, 2011

COM

When dealing with com, need to releasemarshal when it's excel com, for perl, for c# that wrapper around to become com it doesn't start as a separate process, need some intialize and uninstalize

print "Uninitializing OLE \n";

Win32::OLE->Uninitialize();

Thursday, May 5, 2011

Good string tips

//convert list to comma separated string
string seperated = string.Join(",", yourList.ToArray());