$actions = $CGI->param ('action'); $to_do = new INVOICES(); eval {$to_do->$actions} || defscreen();