use Frontend; INIT { Frontend::init(); } eval { Frontend::run(); }; if ($@) { Frontend::show_error($@); } END { Frontend::dispose(); }