From: Rajarshi Chakravarty Date: 2010-08-20T20:12:55+09:00 Subject: function call using reflection Hi, I get each part of the following command in a string at runtime Mod1::Util.parser1("log.txt") So I have the following strings: s1 = "Mod1" s2 = "Util" s3 = "parser1" s4 = "log.txt" Now I want to prepare the command and execute it at runtime. Object::const_get(s1 + "::" + s2 + "." + s3 + "(\"" + s4 + "\")") does not work. Please help.. -- Posted via http://www.ruby-forum.com/.