in reply to Re: input switch
in thread input switch

As I explore in Programing Perl there is no need in eval at all. We can simply write $to_do->$actions();, and Perl makes all job for us.