initialized = 1; } }; $foo = new foobar; // or die("Unable to construct foobar\n"); print $foo->initialized; //$word = new COm("word.application"); //$word->visible = true; //sleep(5); //$word->quit();